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

📄 yesnocan.frm

📁 里面有我用VB二次开发MAPGIS的20个例子
💻 FRM
字号:
VERSION 5.00
Begin VB.Form YesNoCan 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "MapGis提示"
   ClientHeight    =   1848
   ClientLeft      =   2760
   ClientTop       =   3756
   ClientWidth     =   6036
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1848
   ScaleWidth      =   6036
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton CommandNo 
      Caption         =   "否"
      Height          =   372
      Left            =   2400
      TabIndex        =   2
      Top             =   1320
      Width           =   1212
   End
   Begin VB.CommandButton CancelButton 
      Caption         =   "取消"
      Height          =   375
      Left            =   4200
      TabIndex        =   1
      Top             =   1320
      Width           =   1215
   End
   Begin VB.CommandButton OKButton 
      Caption         =   "是"
      Height          =   375
      Left            =   600
      TabIndex        =   0
      Top             =   1320
      Width           =   1215
   End
   Begin VB.Label Label 
      Height          =   732
      Left            =   600
      TabIndex        =   3
      Top             =   360
      Width           =   4932
   End
End
Attribute VB_Name = "YesNoCan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit
Public Flag As Integer
Public PropStr As String


Private Sub CancelButton_Click()
Flag = -1
End Sub

Private Sub CommandNo_Click()
Flag = 0
End Sub

Private Sub Form_Load()
Label.Caption = PropStr
End Sub



Private Sub OKButton_Click()
Flag = 1
End Sub

⌨️ 快捷键说明

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