⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attstrudlg.frm

📁 里面有我用VB二次开发MAPGIS的20个例子
💻 FRM
字号:
VERSION 5.00
Object = "{90E45987-261F-4416-A3DF-90102A62977D}#1.0#0"; "AttStruEdit.ocx"
Begin VB.Form AttStruDlg 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "浏览属性结构"
   ClientHeight    =   4980
   ClientLeft      =   2760
   ClientTop       =   3750
   ClientWidth     =   8415
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4980
   ScaleWidth      =   8415
   ShowInTaskbar   =   0   'False
   Begin ATTSTRUEDITLib.AttStruEdit AttStruEdit 
      Height          =   3975
      Left            =   240
      TabIndex        =   2
      Top             =   120
      Width           =   8055
      _Version        =   65536
      _ExtentX        =   14208
      _ExtentY        =   7011
      _StockProps     =   0
   End
   Begin VB.CommandButton CancelButton 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   375
      Left            =   5760
      TabIndex        =   1
      Top             =   4320
      Width           =   1215
   End
   Begin VB.CommandButton OKButton 
      Caption         =   "确定"
      Default         =   -1  'True
      Height          =   375
      Left            =   4080
      TabIndex        =   0
      Top             =   4320
      Width           =   1215
   End
End
Attribute VB_Name = "AttStruDlg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public IsOK As Integer

Private Sub CancelButton_Click()
IsOK = 0
Unload Me
End Sub

Private Sub OKButton_Click()
IsOK = 1
If AttStruEdit.EditEnable Then  '可编辑,则更新属性结构
    AttStruEdit.UpdateStru      '将控件对属性结构的修改保存到工作区或属性结构对象中
End If
Unload Me
End Sub

Public Function BrowOrEditAttStru(stru As Object, ByVal Editable As Integer)
AttStruEdit.AttachStru stru
AttStruEdit.EditEnable = Editable
End Function

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -