📄 dialoge.frm
字号:
VERSION 5.00
Begin VB.Form Dialoge
Caption = "防破坏线计算参数录入"
ClientHeight = 1725
ClientLeft = 60
ClientTop = 450
ClientWidth = 5160
LinkTopic = "Form1"
ScaleHeight = 1725
ScaleWidth = 5160
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdCancel
Caption = "取 消"
Height = 495
Left = 4080
TabIndex = 4
Top = 600
Width = 975
End
Begin VB.CommandButton cmdok
Caption = "确 认"
Height = 495
Left = 4080
TabIndex = 3
Top = 120
Width = 975
End
Begin VB.TextBox Text3
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
Height = 495
Left = 2160
TabIndex = 2
Top = 1080
Width = 1455
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
Height = 495
Left = 2160
TabIndex = 1
Top = 600
Width = 1455
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
Height = 495
Left = 2160
TabIndex = 0
Top = 120
Width = 1455
End
Begin VB.Label Label1
Caption = "保 证 出 力 (KW):"
Height = 255
Index = 2
Left = 120
TabIndex = 7
Top = 1200
Width = 2055
End
Begin VB.Label Label1
Caption = "死 库 容[(m3/s)月]:"
Height = 255
Index = 1
Left = 120
TabIndex = 6
Top = 720
Width = 2055
End
Begin VB.Label Label1
Caption = "兴利库容[(m3/s)月]:"
Height = 255
Index = 0
Left = 120
TabIndex = 5
Top = 240
Width = 2055
End
End
Attribute VB_Name = "Dialoge"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
Me.Tag = "ok"
Me.Hide
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyReturn, vbKeyDown
Text2.SetFocus
End Select
End Sub
Private Sub Text2_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyReturn, vbKeyDown
Text3.SetFocus
End Select
End Sub
Private Sub Text3_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyReturn, vbKeyDown
cmdok.SetFocus
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -