?? checkbox.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "CheckBox"
ClientHeight = 3180
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3180
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CheckBox Check4
Caption = "刪除線"
Height = 375
Left = 2520
TabIndex = 4
Top = 2760
Width = 1935
End
Begin VB.CheckBox Check3
Caption = "下劃線"
Height = 375
Left = 2520
TabIndex = 3
Top = 2280
Width = 1935
End
Begin VB.CheckBox Check2
Caption = "斜體"
Height = 375
Left = 480
TabIndex = 2
Top = 2760
Width = 1935
End
Begin VB.CheckBox Check1
Caption = "粗體"
Height = 375
Left = 480
TabIndex = 1
Top = 2280
Width = 1935
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2175
Left = 120
MultiLine = -1 'True
TabIndex = 0
Text = "CheckBox.frx":0000
Top = 0
Width = 4455
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Check1_Click()
If Check1.Value = 1 Then
Text1.FontBold = True
Else
Text1.FontBold = False
End If
End Sub
Private Sub Check2_Click()
If Check2.Value = 1 Then
Text1.FontItalic = True
Else
Text1.FontItalic = False
End If
End Sub
Private Sub Check3_Click()
If Check3.Value = 1 Then
Text1.FontUnderline = True
Else
Text1.FontUnderline = False
End If
End Sub
Private Sub Check4_Click()
If Check4.Value = 1 Then
Text1.FontStrikethru = True
Else
Text1.FontStrikethru = False
End If
End Sub
Private Sub Option1_Click()
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -