📄 frmalluser.frm
字号:
VERSION 5.00
Begin VB.Form frmAllUser
BackColor = &H00404040&
BorderStyle = 1 'Fixed Single
Caption = "查看的有使用者"
ClientHeight = 4065
ClientLeft = 45
ClientTop = 435
ClientWidth = 7680
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 4065
ScaleWidth = 7680
Begin VB.CommandButton cmd
Cancel = -1 'True
Caption = "关 闭"
Height = 345
Left = 4920
TabIndex = 5
Top = 3360
Width = 975
End
Begin VB.TextBox txt
Height = 270
Index = 1
Left = 3840
Locked = -1 'True
TabIndex = 2
Top = 1920
Width = 3615
End
Begin VB.TextBox txt
Height = 270
Index = 0
Left = 3840
Locked = -1 'True
TabIndex = 1
Top = 1200
Width = 3615
End
Begin VB.ListBox lst
Height = 3480
Left = 240
TabIndex = 0
Top = 240
Width = 2295
End
Begin VB.Label lblFAU
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "姓名:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 1
Left = 3240
TabIndex = 4
Top = 1320
Width = 540
End
Begin VB.Label lblFAU
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "权限:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 0
Left = 3240
TabIndex = 3
Top = 2040
Width = 540
End
End
Attribute VB_Name = "frmAllUser"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rst As Recordset
'响应 "关闭" 按钮
Private Sub cmd_Click()
Unload Me
End Sub
'响应列表
Private Sub lst_Click()
Set rst = New Recordset
Call LinkDB(landWay, SName, "weboy", SUName, SUPw)
con.Open
rst.Open "select * from users where name='" & lst.Text & "'", con, adOpenDynamic, adLockOptimistic
txt(0).Text = rst!name
txt(1).Text = rst!power
rst.Close
con.Close
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -