📄 utilitycode.bas
字号:
Attribute VB_Name = "UtilityCode"
' 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
' If a field gets deleted or inserted into a line, this routine will
' attempt to automatically shift the fields above/below it to keep the
' fields in synch with the input source.
Sub ShiftInputFields(ShiftRight As Boolean, ShiftAmt As Long, FirstField As Long, LastField As Long, Fields As CInputFields)
Dim act As Object
Dim i As Integer
For i = FirstField To LastField
For Each act In Fields(i).GetActions
If act.CmdType() = eCmdTypes.cmdGetValue Then
act.ShiftPosition ShiftRight, ShiftAmt
Dim trNode As node
Set trNode = frmDocument.TreeView1.Nodes(act.GetID())
trNode.Text = act.GetSpecificDescription()
End If
Next
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -