📄 frmselpos.frm
字号:
VERSION 5.00
Begin VB.Form frmSelPos
BorderStyle = 3 'Fixed Dialog
Caption = "考勤机选择"
ClientHeight = 1740
ClientLeft = 45
ClientTop = 330
ClientWidth = 4500
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmSelPos.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1740
ScaleWidth = 4500
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton cmdPos
Height = 435
Index = 1
Left = 2558
Picture = "frmSelPos.frx":000C
Style = 1 'Graphical
TabIndex = 3
Top = 1005
Width = 1215
End
Begin VB.CommandButton cmdPos
Height = 435
Index = 0
Left = 728
Picture = "frmSelPos.frx":1D4B
Style = 1 'Graphical
TabIndex = 2
Top = 1005
Width = 1215
End
Begin VB.ComboBox cboPos
Height = 330
Left = 1935
Style = 2 'Dropdown List
TabIndex = 1
Top = 270
Width = 2100
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "请选择考勤机:"
Height = 210
Left = 300
TabIndex = 0
Top = 330
Width = 1365
End
End
Attribute VB_Name = "frmSelPos"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim mSql As String
Dim mRst As Recordset
Public mIsOk As Boolean
Public mPosName As String
Private Sub cmdPos_Click(Index As Integer)
If Index = 0 Then
Dim intNumber As Integer
getItemData cboPos, intNumber
gPosNumber = intNumber
mPosName = Trim(cboPos.Text)
End If
mIsOk = (Index = 0)
Me.Hide
End Sub
Private Sub Form_Load()
GetPosToCbo cboPos
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -