?? formstu.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "學生信息"
ClientHeight = 3510
ClientLeft = 60
ClientTop = 450
ClientWidth = 8190
LinkTopic = "Form1"
ScaleHeight = 3510
ScaleWidth = 8190
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "顯示"
Height = 495
Left = 3120
TabIndex = 12
Top = 2760
Width = 1455
End
Begin VB.TextBox Text3
Height = 2415
Left = 5640
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 11
Top = 120
Width = 2295
End
Begin VB.TextBox Text1
Height = 495
Left = 1440
TabIndex = 10
Top = 120
Width = 1335
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "FormStu.frx":0000
Left = 2160
List = "FormStu.frx":0013
TabIndex = 8
Text = "計算機學院"
Top = 1200
Width = 1455
End
Begin VB.Frame Frame1
Caption = "性別"
Height = 1335
Left = 480
TabIndex = 3
Top = 1200
Width = 1335
Begin VB.OptionButton Option2
Caption = "女"
Height = 255
Left = 120
TabIndex = 5
Top = 840
Width = 975
End
Begin VB.OptionButton Option1
Caption = "男"
Height = 375
Left = 120
TabIndex = 4
Top = 360
Value = -1 'True
Width = 975
End
End
Begin VB.TextBox Text2
Height = 495
Left = 4080
TabIndex = 2
Top = 120
Width = 1335
End
Begin VB.ListBox List1
Height = 1140
ItemData = "FormStu.frx":0045
Left = 4080
List = "FormStu.frx":006D
TabIndex = 0
Top = 1200
Width = 1215
End
Begin VB.Label Label1
Caption = "學號:"
Height = 375
Left = 480
TabIndex = 9
Top = 240
Width = 975
End
Begin VB.Label Label4
Caption = "系別:"
Height = 255
Left = 2160
TabIndex = 7
Top = 840
Width = 1095
End
Begin VB.Label Label3
Caption = "籍貫:"
Height = 375
Left = 4080
TabIndex = 6
Top = 840
Width = 1335
End
Begin VB.Label Label2
Caption = "姓名:"
Height = 375
Left = 3240
TabIndex = 1
Top = 240
Width = 735
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 Command1_Click()
'單擊顯示按鈕
Text3 = "學號:" & Text1 & Chr(13) + Chr(10)
Text3 = Text3 & "姓名:" & Text2 & Chr(13) + Chr(10)
If Option1.Value = True Then
Text3 = Text3 & "性別:" & "男" & Chr(13) + Chr(10)
Else
Text3 = Text3 & "性別:" & "女" & Chr(13) + Chr(10)
End If
Text3 = Text3 & "籍貫:" & List1.Text & Chr(13) + Chr(10)
Text3 = Text3 & "系別:" & Combo1.Text & Chr(13) + Chr(10)
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -