📄 settinedgetype.frm
字号:
VERSION 5.00
Begin VB.Form frmSetTinEdgeType
BorderStyle = 4 'Fixed ToolWindow
Caption = "Options"
ClientHeight = 612
ClientLeft = 48
ClientTop = 288
ClientWidth = 2880
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 612
ScaleWidth = 2880
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.ComboBox cboEdgeType
Height = 315
Left = 600
TabIndex = 2
Text = "cboEdgeType"
Top = 120
Width = 2175
End
Begin VB.CommandButton cmdNo
Height = 315
Left = 2040
MouseIcon = "SetTinEdgeType.frx":0000
TabIndex = 4
Top = 240
Visible = 0 'False
Width = 315
End
Begin VB.CommandButton cmdCross
Height = 315
Left = 1680
MouseIcon = "SetTinEdgeType.frx":0152
TabIndex = 3
Top = 240
Visible = 0 'False
Width = 315
End
Begin VB.CommandButton Command1
Height = 315
Left = 2400
Picture = "SetTinEdgeType.frx":045C
Style = 1 'Graphical
TabIndex = 0
Top = 240
Visible = 0 'False
Width = 315
End
Begin VB.Label Label3
Caption = "Type:"
Height = 255
Left = 120
TabIndex = 1
Top = 135
Width = 495
End
End
Attribute VB_Name = "frmSetTinEdgeType"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Copyright 1995-2004 ESRI
' All rights reserved under the copyright laws of the United States.
' You may freely redistribute and use this sample code, with or without modification.
' Disclaimer: THE SAMPLE CODE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
' WARRANTIES, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
' FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ESRI OR
' CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
' OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
' SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
' INTERRUPTION) SUSTAINED BY YOU OR A THIRD PARTY, HOWEVER CAUSED AND ON ANY
' THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ARISING IN ANY
' WAY OUT OF THE USE OF THIS SAMPLE CODE, EVEN IF ADVISED OF THE POSSIBILITY OF
' SUCH DAMAGE.
' For additional information contact: Environmental Systems Research Institute, Inc.
' Attn: Contracts Dept.
' 380 New York Street
' Redlands, California, U.S.A. 92373
' Email: contracts@esri.com
Option Explicit
Private Sub Form_Load()
cboEdgeType.AddItem "Hard"
cboEdgeType.ItemData(0) = esriTinHardEdge
cboEdgeType.AddItem "Soft"
cboEdgeType.ItemData(1) = esriTinSoftEdge
cboEdgeType.AddItem "Regular"
cboEdgeType.ItemData(2) = esriTinRegularEdge
cboEdgeType.ListIndex = 0
win32Util.FloatWindow Me, True
End Sub
Public Function GetEdgeType() As esriTinEdgeType
GetEdgeType = cboEdgeType.ItemData(cboEdgeType.ListIndex)
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -