📄 frmtextwindow.frm
字号:
VERSION 5.00
Begin VB.Form FrmTextWindow
BorderStyle = 3 'Fixed Dialog
Caption = "Project Bob - Text Display Window"
ClientHeight = 2955
ClientLeft = 45
ClientTop = 330
ClientWidth = 6660
Icon = "FrmTextWindow.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 2955
ScaleWidth = 6660
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command3
Caption = "Clear"
Height = 435
Left = 4260
TabIndex = 3
Top = 2340
Width = 1725
End
Begin VB.CommandButton Command2
Caption = "Copy"
Height = 435
Left = 2520
TabIndex = 2
Top = 2340
Width = 1725
End
Begin VB.CommandButton Command1
Caption = "Select All"
Height = 435
Left = 780
TabIndex = 1
Top = 2340
Width = 1725
End
Begin VB.TextBox txtNotepad
Height = 2205
Left = 0
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 0
Top = 0
Width = 6645
End
End
Attribute VB_Name = "FrmTextWindow"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
txtNotepad.SelStart = 0
txtNotepad.SelLength = Len(txtNotepad.text)
End Sub
Private Sub Command2_Click()
Clipboard.SetText txtNotepad.text
End Sub
Private Sub Command3_Click()
txtNotepad.text = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -