frmdlg.frm

来自「计算自然对数底数e的程序 可选不同位数」· FRM 代码 · 共 71 行

FRM
71
字号
VERSION 5.00
Begin VB.Form frmDLG 
   Caption         =   "准备计算"
   ClientHeight    =   930
   ClientLeft      =   5175
   ClientTop       =   5100
   ClientWidth     =   3720
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   ScaleHeight     =   62
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   248
   Begin VB.CommandButton comCacel 
      Caption         =   "取消"
      Height          =   375
      Left            =   2520
      TabIndex        =   2
      Top             =   480
      Width           =   1095
   End
   Begin VB.CommandButton comOK 
      Caption         =   "确定"
      Height          =   375
      Left            =   2520
      TabIndex        =   1
      Top             =   120
      Width           =   1095
   End
   Begin VB.ComboBox ComboN 
      Height          =   300
      ItemData        =   "frmDLG.frx":0000
      Left            =   120
      List            =   "frmDLG.frx":0019
      Style           =   2  'Dropdown List
      TabIndex        =   0
      Top             =   480
      Width           =   2295
   End
   Begin VB.Label lblIntr 
      AutoSize        =   -1  'True
      Caption         =   "请选择计算位数:"
      Height          =   180
      Left            =   120
      TabIndex        =   3
      Top             =   210
      Width           =   1350
   End
End
Attribute VB_Name = "frmDLG"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub comCacel_Click()
OK = False
Unload Me
End Sub

Private Sub comOK_Click()
OK = True
EnIndex = ComboN.ListIndex
Unload Me
End Sub

Private Sub Form_Load()
ComboN.Text = ComboN.List(EnIndex)
OK = False
End Sub

⌨️ 快捷键说明

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