📄 frmmsgfullscreen.frm
字号:
VERSION 5.00
Begin VB.Form frmMsgFullscreen
BorderStyle = 3 'Fixed Dialog
Caption = "Show message"
ClientHeight = 3960
ClientLeft = 45
ClientTop = 330
ClientWidth = 5565
Icon = "frmMsgFullscreen.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 264
ScaleMode = 3 'Pixel
ScaleWidth = 371
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.CommandButton cmdClose
Caption = "Close"
Height = 315
Left = 2160
TabIndex = 2
Top = 3240
Width = 1575
End
Begin VB.CheckBox chkFullHeader
Caption = "Show full header"
Height = 255
Left = 120
TabIndex = 1
Top = 3120
Width = 2055
End
Begin VB.TextBox txtShow
Height = 3015
Left = 0
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 0
Top = 0
Width = 5295
End
End
Attribute VB_Name = "frmMsgFullscreen"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public Message As Long ' index of message currently being shown
Private Sub chkFullHeader_Click()
' update message
frmMain.ShowMessage Message, chkFullHeader, txtShow
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub Form_Resize()
txtShow.Width = ScaleWidth '- 8
txtShow.Height = ScaleHeight - 40
chkFullHeader.Top = txtShow.Height + 8
cmdClose.Top = chkFullHeader.Top
cmdClose.Left = ScaleWidth - cmdClose.Width - 8
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -