📄 设备分类.frm
字号:
VERSION 5.00
Begin VB.Form Dev_ItemDEVSort
BorderStyle = 1 'Fixed Single
Caption = "设备类别"
ClientHeight = 1275
ClientLeft = 4170
ClientTop = 1950
ClientWidth = 3000
Icon = "设备分类.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1275
ScaleWidth = 3000
Begin VB.CommandButton Command2
Caption = "取消(&C)"
Height = 300
Left = 1625
TabIndex = 2
Top = 780
Width = 1120
End
Begin VB.CommandButton Command1
Caption = "确定(&O)"
Height = 300
Left = 240
TabIndex = 1
Top = 780
Width = 1120
End
Begin VB.ComboBox Combo1
Height = 300
Left = 240
Style = 2 'Dropdown List
TabIndex = 0
Top = 180
Width = 2505
End
End
Attribute VB_Name = "Dev_ItemDEVSort"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Combo1.Tag = Combo1.ItemData(Combo1.ListIndex)
Me.Hide
End Sub
Private Sub Command2_Click()
Combo1.Tag = ""
Me.Hide
End Sub
Private Sub Form_Load()
Dim ado_Itemtf As New Recordset
Dim i As Integer
Dim aDo_Com As New Recordset
Set aDo_Com = Cw_DataEnvi.DataConnect.Execute("select * from DEV_ItemSort")
i = 0
Combo1.Clear
Do While Not aDo_Com.EOF
Combo1.AddItem Trim(aDo_Com!ISName)
Combo1.ItemData(i) = aDo_Com!ISId
i = i + 1
aDo_Com.MoveNext
Loop
Combo1.ListIndex = 0
aDo_Com.Close
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -