📄 frmdirection.frm
字号:
VERSION 5.00
Begin VB.Form frmDirection
BorderStyle = 3 'Fixed Dialog
Caption = "Moldability - Pull Direction"
ClientHeight = 2370
ClientLeft = 2550
ClientTop = 2895
ClientWidth = 4905
Icon = "frmDirection.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2370
ScaleWidth = 4905
ShowInTaskbar = 0 'False
Begin VB.CommandButton cmdAbout
Caption = "About"
Height = 495
Left = 3240
TabIndex = 5
Top = 1440
Width = 1215
End
Begin VB.CommandButton cmdQuit
Caption = "Quit"
Height = 495
Left = 1800
TabIndex = 4
Top = 1440
Width = 1215
End
Begin VB.CommandButton cmdContinue
Caption = "Continue"
Default = -1 'True
Height = 495
Left = 360
TabIndex = 3
Top = 1440
Width = 1215
End
Begin VB.TextBox txtDraftAngle
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2760
TabIndex = 2
Text = "0"
ToolTipText = "Enter minimum angle"
Top = 720
Width = 1815
End
Begin VB.Label lblDraftAngle
Caption = "Minimum Draft Angle"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 1
Top = 720
Width = 2535
End
Begin VB.Label lblSelectDirection
Caption = "Select PLANE to indicate pull direction"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 0
Top = 120
Width = 4935
End
End
Attribute VB_Name = "frmDirection"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdAbout_Click()
frmAbout.Show
End Sub
Private Sub cmdContinue_Click()
' Ensure a plane is selected
'
If Not GetPullDirection(txtDraftAngle.Text) Then
Call MsgBox("Please select a plane to specify pull direction", vbExclamation)
Exit Sub
End If
'
' Show the Legend form
'
frmDirection.Hide
frmLegend.Top = frmDirection.Top
frmLegend.Left = frmDirection.Left
frmLegend.Show
LockUI ' Ensure part is not modified while colors are shown
FindMoldLock
End Sub
Private Sub cmdQuit_Click()
End
End Sub
Private Sub Form_Load()
SetTopMost Me.hWnd, True
GetSWobject
End Sub
Private Sub Form_Unload(Cancel As Integer)
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -