📄 frmcmdskiplinesproperties.frm
字号:
VERSION 5.00
Begin VB.Form frmCMDSkipLinesProperties
BorderStyle = 4 'Fixed ToolWindow
Caption = "Form1"
ClientHeight = 1140
ClientLeft = 48
ClientTop = 288
ClientWidth = 3024
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1140
ScaleWidth = 3024
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.TextBox txtLinesToSkip
Appearance = 0 'Flat
Height = 285
Left = 540
TabIndex = 2
Top = 120
Width = 675
End
Begin VB.CommandButton btnOk
Caption = "&Ok"
Default = -1 'True
Height = 375
Left = 2100
TabIndex = 1
Top = 600
Width = 795
End
Begin VB.CommandButton btnCancel
Cancel = -1 'True
Caption = "&Cancel"
Height = 375
Left = 1260
TabIndex = 0
Top = 600
Width = 735
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "lines of input"
Height = 195
Left = 1320
TabIndex = 4
Top = 180
Width = 885
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Skip"
Height = 195
Left = 120
TabIndex = 3
Top = 180
Width = 315
End
End
Attribute VB_Name = "frmCMDSkipLinesProperties"
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
Dim mParent As CCmdSkipLines
Public Sub Initialize(parent As CCmdSkipLines, NameForCaption As String)
Set mParent = parent
Me.Caption = "SkipLines command properties for " & NameForCaption
Me.txtLinesToSkip = parent.NumLinesToSkip
End Sub
Private Sub btnCancel_Click()
Unload Me
End Sub
Private Sub btnOk_Click()
If CLng(txtLinesToSkip) < 1 Or Len(txtLinesToSkip) > 5 Then
MsgBox "You must enter a positive number between 1 and 99999 or press cancel", _
vbInformation And vbOKOnly, "Invalid entry"
Else
mParent.NumLinesToSkip = CStr(txtLinesToSkip)
GFormReturnValue = vbOK
Unload Me
End If
End Sub
Private Sub Form_Load()
Me.left = (Screen.Width - Me.Width) / 2
Me.top = (Screen.Height - Me.Height) / 2
GFormReturnValue = vbCancel
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -