📄 pointer.frm
字号:
VERSION 5.00
Begin VB.Form frmPointer
Caption = "Fig. 12.2: MousePointer Property"
ClientHeight = 2370
ClientLeft = 2715
ClientTop = 2040
ClientWidth = 4860
LinkTopic = "Form1"
ScaleHeight = 2370
ScaleWidth = 4860
Begin VB.OptionButton optCursor
Caption = "size all"
Height = 495
Index = 15
Left = 3720
TabIndex = 15
Top = 1680
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "arrow question"
Height = 495
Index = 14
Left = 3720
TabIndex = 14
Top = 1200
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "arrow hourglass"
Height = 495
Index = 13
Left = 3720
TabIndex = 13
Top = 720
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "no drop"
Height = 495
Index = 12
Left = 3720
TabIndex = 12
Top = 240
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "hourglass"
Height = 495
Index = 11
Left = 2520
TabIndex = 11
Top = 1680
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "up arrow"
Height = 495
Index = 10
Left = 2520
TabIndex = 10
Top = 1200
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "WE"
Height = 495
Index = 9
Left = 2520
TabIndex = 9
Top = 720
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "NWSE"
Height = 495
Index = 8
Left = 2520
TabIndex = 8
Top = 240
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "NS"
Height = 495
Index = 7
Left = 1440
TabIndex = 7
Top = 1680
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "NESW"
Height = 495
Index = 6
Left = 1440
TabIndex = 6
Top = 1200
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "size"
Height = 495
Index = 5
Left = 1440
TabIndex = 5
Top = 720
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "icon"
Height = 495
Index = 4
Left = 1440
TabIndex = 4
Top = 240
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "Ibeam"
Height = 495
Index = 3
Left = 120
TabIndex = 3
Top = 1680
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "crosshair"
Height = 495
Index = 2
Left = 120
TabIndex = 2
Top = 1200
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "arrow"
Height = 495
Index = 1
Left = 120
TabIndex = 1
Top = 720
Width = 1215
End
Begin VB.OptionButton optCursor
Caption = "default"
Height = 495
Index = 0
Left = 120
TabIndex = 0
Top = 240
Width = 1215
End
End
Attribute VB_Name = "frmPointer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Fig. 12.2
' Changing the mouse pointer
Option Explicit ' General declaration
Private Sub optCursor_Click(Index As Integer)
MousePointer = Index
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -