frmselpos.frm
来自「此压缩文档包含了数个用VB语言开发的IC卡管理系统」· FRM 代码 · 共 89 行
FRM
89 行
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 + =
减小字号Ctrl + -
显示快捷键?