📄 mr,mrs,miss,ms.frm
字号:
VERSION 5.00
Begin VB.Form Form32
BackColor = &H00808080&
Caption = "Form32"
ClientHeight = 4545
ClientLeft = 60
ClientTop = 450
ClientWidth = 7935
LinkTopic = "Form32"
ScaleHeight = 4545
ScaleWidth = 7935
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.CommandButton Command1
Caption = "SHOW FULL NAME"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 1920
TabIndex = 8
Top = 4080
Width = 3135
End
Begin VB.TextBox Text2
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2520
TabIndex = 7
Top = 2880
Width = 2055
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2520
TabIndex = 5
Top = 960
Width = 2055
End
Begin VB.OptionButton Option4
Caption = "MS."
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 3
Top = 3000
Width = 1335
End
Begin VB.OptionButton Option3
Caption = "MISS"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 2
Top = 2160
Width = 1335
End
Begin VB.OptionButton Option2
Caption = "MRS."
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 1
Top = 1320
Width = 1335
End
Begin VB.OptionButton Option1
Caption = "MR."
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 0
Top = 480
Width = 1335
End
Begin VB.Label Label3
BackColor = &H0000FFFF&
Height = 1335
Left = 2400
TabIndex = 9
Top = 5400
Width = 4455
End
Begin VB.Label Label2
Caption = "ENTER LAST NAME"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2520
TabIndex = 6
Top = 2040
Width = 2055
End
Begin VB.Label Label1
Caption = "ENTER FIRST NAME"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2520
TabIndex = 4
Top = 120
Width = 2055
End
End
Attribute VB_Name = "Form32"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim STRTITLE As Integer
Dim STRFIRST As String
Dim STRLAST As String
Dim STRFULLNAME As String
Dim MSG$
If Text1.Text = "" Then
MsgBox ("ENTER A NAME IN THE BOX")
Text1.SetFocus
End If
If Text2.Text = " " Then
MsgBox ("ENTER A NAME IN THE BOX")
Text2.SetFocus
End If
If Option1.Value = True Then
Label3.Caption = "MR. " & Text1.Text & Text2.Text
ElseIf Option2.Value = True Then
Label3.Caption = "MRs. " & Text1.Text & Text2.Text
ElseIf Option3.Value = True Then
Label3.Caption = "MISS " & Text1.Text & Text2.Text
ElseIf Option4.Value = True Then
Label3.Caption = "MS. " & Text1.Text & Text2.Text
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -