📄 noteedit.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmNoteEdit
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "FoxTools 文本编辑器"
ClientHeight = 5115
ClientLeft = 4545
ClientTop = 3405
ClientWidth = 10140
ClipControls = 0 'False
Icon = "NoteEdit.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 5115
ScaleWidth = 10140
StartUpPosition = 2 'CenterScreen
WindowState = 2 'Maximized
Begin RichTextLib.RichTextBox RichTextBox1
Height = 4590
Left = 0
TabIndex = 0
Top = 0
Width = 9780
_ExtentX = 17251
_ExtentY = 8096
_Version = 393217
BackColor = 16777215
BorderStyle = 0
ScrollBars = 3
TextRTF = $"NoteEdit.frx":0442
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 5760
Top = 3960
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
End
Attribute VB_Name = "frmNoteEdit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim UnsavedChanges As Boolean
Private Sub Form_Load()
On Error GoTo ErrHandler
RichTextBox1.LoadFile EditFileName, rtfText
' Me.Caption = Me.Caption & EditFileName
Exit Sub
ErrHandler:
MsgBox "发生错误!"
End Sub
Private Sub Form_Resize()
RichTextBox1.Width = Abs(Me.Width - 80)
RichTextBox1.Height = Abs(Me.Height - 360)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -