?? frmtest.frm
字號:
VERSION 5.00
Begin VB.Form frmCheck
Caption = "ActiveEXE Executing as Stand-Alone EXE"
ClientHeight = 1740
ClientLeft = 5430
ClientTop = 4800
ClientWidth = 4710
LinkTopic = "Form1"
ScaleHeight = 1740
ScaleWidth = 4710
Begin VB.CommandButton cmdCheck
Caption = "Check Spelling"
Height = 405
Left = 2280
TabIndex = 3
Top = 120
Width = 1935
End
Begin VB.TextBox txtInput
Height = 405
Left = 840
TabIndex = 2
Top = 120
Width = 1215
End
Begin VB.Label lblLabel
Caption = "Using:"
Height = 255
Left = 1152
TabIndex = 5
Top = 1380
Width = 495
End
Begin VB.Label lblSuggest
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1759
TabIndex = 4
Top = 1380
Width = 1800
End
Begin VB.Label lblPrompt
Caption = "Word:"
Height = 255
Left = 240
TabIndex = 1
Top = 195
Width = 615
End
Begin VB.Label lblDisplay
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 0
Top = 720
Width = 4455
End
End
Attribute VB_Name = "frmCheck"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Form module
Option Explicit
Private Sub Form_Initialize()
Set mChecker = New CSpellCheckerEXE2
' Call Friend method in CSpellCheckerEXE2
lblSuggest.Caption = mChecker.GetCaption
End Sub
Private Sub cmdCheck_Click()
If mChecker.SpellCheckWord(txtInput.Text) Then
lblDisplay.Caption = txtInput.Text & _
" is spelled correctly."
Else
lblDisplay.Caption = txtInput.Text & _
" is spelled incorrectly."
End If
End Sub
Private Sub Form_Terminate()
Set mChecker = Nothing
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -