📄 frmwfnames.frm
字号:
VERSION 5.00
Begin VB.Form frmWFNames
BorderStyle = 3 'Fixed Dialog
Caption = "Form1"
ClientHeight = 4260
ClientLeft = 45
ClientTop = 330
ClientWidth = 4875
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4260
ScaleWidth = 4875
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmd
Caption = "取消"
Height = 405
Index = 1
Left = 2490
TabIndex = 3
Top = 3360
Width = 1335
End
Begin VB.CommandButton cmd
Caption = "确定"
Height = 405
Index = 0
Left = 780
TabIndex = 2
Top = 3360
Width = 1335
End
Begin VB.Frame fra
Caption = "请选择流程"
Height = 2775
Left = 360
TabIndex = 0
Top = 240
Width = 4065
Begin VB.ListBox lstWFName
Height = 1860
Left = 360
TabIndex = 1
Top = 450
Width = 3315
End
End
End
Attribute VB_Name = "frmWFNames"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private strWFName As String
Private Sub cmd_Click(Index As Integer)
If Index = 0 Then
strWFName = Me.lstWFName.Text
Else
strWFName = ""
End If
Unload Me
End Sub
Public Function Display(WFname() As String) As String
Dim i As Long
For i = 1 To UBound(WFname)
Me.lstWFName.AddItem WFname(i)
Next i
Me.Show vbModal
Display = strWFName
End Function
Private Sub lstWFName_DblClick()
cmd_Click 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -