📄 frmgoto.frm
字号:
VERSION 5.00
Begin VB.Form frmGoto
BorderStyle = 3 'Fixed Dialog
Caption = "Move To Absolute Position"
ClientHeight = 1830
ClientLeft = 45
ClientTop = 330
ClientWidth = 2985
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1830
ScaleWidth = 2985
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton btnGoto
Caption = "Goto"
Height = 495
Left = 120
TabIndex = 6
Top = 600
Width = 495
End
Begin VB.TextBox Xtarget
Height = 300
Left = 1200
TabIndex = 0
Text = "0"
Top = 120
Width = 1095
End
Begin VB.TextBox Ytarget
Height = 300
Left = 1200
TabIndex = 1
Text = "0"
Top = 720
Width = 1095
End
Begin VB.TextBox Ztarget
Height = 300
Left = 1200
TabIndex = 2
Text = "0"
Top = 1320
Width = 1095
End
Begin VB.Label Label1
Caption = "X"
Height = 300
Index = 0
Left = 960
TabIndex = 5
Top = 120
Width = 255
End
Begin VB.Label Label1
Caption = "Y"
Height = 300
Index = 1
Left = 960
TabIndex = 4
Top = 720
Width = 255
End
Begin VB.Label Label1
Caption = "Z"
Height = 300
Index = 2
Left = 960
TabIndex = 3
Top = 1320
Width = 255
End
End
Attribute VB_Name = "frmGoto"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub btnGoto_Click()
TestControl.myScan.MoveXYZtoAbsolute Val(Xtarget.Text), Val(Ytarget.Text), Val(Ztarget.Text)
End Sub
Private Sub Form_Unload(Cancel As Integer)
TestControl.btnGoto.Enabled = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -