📄 title.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form Form4
AutoRedraw = -1 'True
Caption = "上机题板"
ClientHeight = 3900
ClientLeft = 60
ClientTop = 345
ClientWidth = 6600
ControlBox = 0 'False
Icon = "title.frx":0000
LinkTopic = "Form6"
ScaleHeight = 3900
ScaleWidth = 6600
StartUpPosition = 2 '屏幕中心
WhatsThisHelp = -1 'True
Begin RichTextLib.RichTextBox RTfdata
Height = 3125
Left = 0
TabIndex = 2
Top = 360
Width = 6495
_ExtentX = 11456
_ExtentY = 5503
_Version = 393217
Enabled = -1 'True
ReadOnly = -1 'True
ScrollBars = 2
BulletIndent = 1
RightMargin = 1
TextRTF = $"title.frx":0442
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 420
Left = 0
TabIndex = 1
Top = 3480
Width = 6600
_ExtentX = 11642
_ExtentY = 741
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 2
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 5468
MinWidth = 5468
Text = "当前考试类型:Windows基本操作"
TextSave = "当前考试类型:Windows基本操作"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 5997
MinWidth = 5997
Text = "考生文件夹: kspath\exam"
TextSave = "考生文件夹: kspath\exam"
EndProperty
EndProperty
End
Begin VB.Image Image1
Height = 225
Index = 0
Left = 240
Picture = "title.frx":067C
Top = 90
Width = 240
End
Begin VB.Label Label1
Caption = "当前题目要求"
Height = 180
Left = 720
TabIndex = 0
Top = 120
Width = 1080
End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Const HWND_TOPMOST& = -1
' 将窗口置于列表顶部,并位于任何最顶部窗口的前面
Private Const SWP_NOSIZE& = &H1
' 保持窗口大小
Private Const SWP_NOMOVE& = &H2
' 保持窗口位置
Private Sub Form_Load()
SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE
' 将窗口设为总在最前
RTfdata.Width = Form6.Width * 0.985
StatusBar1.Panels(1).Width = Form6.Width * 0.49
StatusBar1.Panels(2).Width = Form6.Width * 0.49
StatusBar1.Panels(2).Text = "考试文件夹:" & App.Path & "\sfexam"
End Sub
Private Sub Form_Resize()
RTfdata.Width = Form6.Width * 0.985
Form6.Height = 4300
RTfdata.Height = 3125
StatusBar1.Panels(1).Width = Form6.Width * 0.49
StatusBar1.Panels(2).Width = Form6.Width * 0.49
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -