📄 frmsethigh.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmSetHigh
BorderStyle = 4 'Fixed ToolWindow
Caption = "设置高度"
ClientHeight = 1140
ClientLeft = 2760
ClientTop = 3705
ClientWidth = 2535
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1140
ScaleWidth = 2535
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.TextBox txtValue
Alignment = 1 'Right Justify
Height = 375
Left = 120
TabIndex = 0
Text = "1"
Top = 120
Width = 1335
End
Begin VB.CommandButton CancelButton
Caption = "取消"
Height = 255
Left = 1440
TabIndex = 2
Top = 720
Width = 855
End
Begin VB.CommandButton OKButton
Caption = "确定"
Height = 255
Left = 240
TabIndex = 1
Top = 720
Width = 855
End
Begin MSComCtl2.UpDown UpDown1
Height = 375
Left = 1456
TabIndex = 3
Top = 120
Width = 240
_ExtentX = 423
_ExtentY = 661
_Version = 393216
Value = 1
AutoBuddy = -1 'True
BuddyControl = "txtValue"
BuddyDispid = 196609
OrigLeft = 1680
OrigTop = 120
OrigRight = 1920
OrigBottom = 495
Max = 50
Min = 1
SyncBuddy = -1 'True
BuddyProperty = 0
Enabled = -1 'True
End
Begin VB.Label lblDw
AutoSize = -1 'True
Caption = "毫米"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1800
TabIndex = 4
Top = 165
Width = 570
End
End
Attribute VB_Name = "frmSetHigh"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public Ok As Boolean
Private Sub CancelButton_Click()
Ok = False
Me.Hide
End Sub
Private Sub OKButton_Click()
If IsNumeric(txtValue.text) Then
txtValue = Format(txtValue.text, "#0.00")
Ok = True
End If
Me.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -