?? frmclassinfo.frm
字號:
VERSION 5.00
Object = "{CE671F01-259E-40DA-92FE-95803E2ECBB5}#1.0#0"; "SmartXPButton.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Begin VB.Form FrmClassInfo
BackColor = &H00E7DFE7&
BorderStyle = 1 'Fixed Single
Caption = "班級信息添加"
ClientHeight = 3795
ClientLeft = 45
ClientTop = 330
ClientWidth = 7395
Icon = "FrmClassInfo.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 3795
ScaleWidth = 7395
Begin VB.Frame Frame1
BackColor = &H00E7DFE7&
Caption = "查詢條件"
Height = 1575
Left = 3360
TabIndex = 14
Top = 2040
Width = 3855
Begin VB.TextBox txtFind
Height = 375
IMEMode = 3 'DISABLE
Left = 840
MaxLength = 5
TabIndex = 7
Top = 480
Width = 1455
End
Begin SmartXPButton.XpButton cmdFind
Height = 495
Left = 2400
TabIndex = 8
Top = 360
Width = 1335
_ExtentX = 2355
_ExtentY = 873
Enabled = 0 'False
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "查找(&F)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmClassInfo.frx":1CFA
End
Begin SmartXPButton.XpButton cmdReturn
Height = 495
Left = 2400
TabIndex = 9
Top = 960
Width = 1335
_ExtentX = 2355
_ExtentY = 873
Enabled = 0 'False
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
CaptionAreaPercent= 100
Caption = "返回(&B)"
CaptionMouseOverColor= 16711680
PictureSmoothBackColor= 14410727
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "班號:"
Height = 180
Left = 240
TabIndex = 15
Top = 600
Width = 540
End
End
Begin MSHierarchicalFlexGridLib.MSHFlexGrid ClassGrid
Height = 1575
Left = 3360
TabIndex = 10
Top = 240
Width = 3735
_ExtentX = 6588
_ExtentY = 2778
_Version = 393216
BackColorFixed = 15196135
BackColorBkg = 15196135
BackColorUnpopulated= 15196135
_NumberOfBands = 1
_Band(0).Cols = 2
End
Begin VB.ComboBox cboGradeNo
Enabled = 0 'False
Height = 300
IMEMode = 3 'DISABLE
Left = 1320
TabIndex = 1
Top = 1020
Width = 1815
End
Begin VB.ComboBox cboUserId
Enabled = 0 'False
Height = 300
IMEMode = 3 'DISABLE
Left = 1320
TabIndex = 2
Top = 1740
Width = 1815
End
Begin VB.TextBox txtClassNo
Enabled = 0 'False
Height = 375
IMEMode = 3 'DISABLE
Left = 1320
MaxLength = 3
TabIndex = 0
Top = 263
Width = 1815
End
Begin SmartXPButton.XpButton cmdAdd
Height = 495
Left = 120
TabIndex = 3
Top = 2280
Width = 1335
_ExtentX = 2355
_ExtentY = 873
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
CaptionAreaPercent= 100
Caption = "添加(&A)"
CaptionMouseOverColor= 16711680
PictureSmoothBackColor= 15460844
End
Begin SmartXPButton.XpButton cmdSave
Height = 495
Left = 120
TabIndex = 4
Top = 3120
Width = 1335
_ExtentX = 2355
_ExtentY = 873
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "保存(&S)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmClassInfo.frx":40DC
End
Begin SmartXPButton.XpButton cmdExit
Cancel = -1 'True
Height = 495
Left = 1680
TabIndex = 6
Top = 3120
Width = 1335
_ExtentX = 2355
_ExtentY = 873
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "關閉(&E)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmClassInfo.frx":4716
End
Begin SmartXPButton.XpButton cmdDel
Height = 495
Left = 1680
TabIndex = 5
Top = 2280
Width = 1335
_ExtentX = 2355
_ExtentY = 873
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "刪除(&D)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmClassInfo.frx":4FF0
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "班主任編號:"
Height = 180
Left = 180
TabIndex = 13
Top = 1800
Width = 1080
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "年級編號:"
Height = 180
Left = 180
TabIndex = 12
Top = 1080
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "班號:"
Height = 180
Left = 180
TabIndex = 11
Top = 360
Width = 540
End
End
Attribute VB_Name = "FrmClassInfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private myModiClass As OpenRs
Private Sub cboUserid_KeyPress(KeyAscii As Integer)
If KeyAscii = 39 Then
KeyAscii = 0
End If
End Sub
Private Sub ClassGrid_Click()
myModiClass.rsDK1 "select * from class_info"
If myModiClass.rs1.EOF Then
Exit Sub
End If
txtFind.Text = ""
cmdReturn.Enabled = False
txtClassNo.Text = ClassGrid.TextMatrix(ClassGrid.Row, 1)
cboGradeno.Text = ClassGrid.TextMatrix(ClassGrid.Row, 2)
cboUserid.Text = ClassGrid.TextMatrix(ClassGrid.Row, 3)
cmdDel.Enabled = True
If txtClassNo.Text <> "" Then
cmdSave.Caption = "更新(&U)"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -