📄 frmcmdreadconstproperties.frm
字号:
VERSION 5.00
Begin VB.Form frmCmdReadConstProperties
BorderStyle = 3 'Fixed Dialog
Caption = "Dialog Caption"
ClientHeight = 1800
ClientLeft = 2760
ClientTop = 3756
ClientWidth = 4032
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1800
ScaleWidth = 4032
ShowInTaskbar = 0 'False
Begin VB.TextBox txtConstValue
Height = 285
Left = 720
TabIndex = 4
Top = 120
Width = 3135
End
Begin VB.CheckBox chkOverwrite
Appearance = 0 'Flat
BackColor = &H80000004&
Caption = "Overwrite existing value"
ForeColor = &H80000008&
Height = 375
Left = 120
TabIndex = 2
Top = 600
Width = 3135
End
Begin VB.CommandButton CancelButton
Caption = "Cancel"
Height = 375
Left = 2880
TabIndex = 1
Top = 1200
Width = 975
End
Begin VB.CommandButton OKButton
Caption = "OK"
Height = 375
Left = 1680
TabIndex = 0
Top = 1200
Width = 975
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Value"
Height = 195
Left = 120
TabIndex = 3
Top = 120
Width = 405
End
End
Attribute VB_Name = "frmCmdReadConstProperties"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' DataMonkey Data Conversion Application. Written by Theodore L. Ward
' Copyright (C) 2002 AstroComma Incorporated.
'
' This program is free software; you can redistribute it and/or
' modify it under the terms of the GNU General Public License
' as published by the Free Software Foundation; either version 2
' of the License, or (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program; if not, write to the Free Software
' Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
' The author may be contacted at:
' TheodoreWard@Hotmail.com or TheodoreWard@Yahoo.com
Option Explicit
Private Sub CancelButton_Click()
GFormReturnValue = vbCancel
Me.Hide
End Sub
Private Sub OKButton_Click()
GFormReturnValue = vbOK
Me.Hide
End Sub
Public Property Let Overwrite(newVal As Boolean)
Me.chkOverwrite.value = IIf(newVal, 1, 0)
End Property
Public Property Get Overwrite() As Boolean
Overwrite = IIf(Me.chkOverwrite.value = 1, True, False)
End Property
Public Property Let ConstVal(newVal As Variant)
Me.txtConstValue = newVal
End Property
Public Property Get ConstVal() As Variant
ConstVal = Me.txtConstValue.Text
End Property
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -