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

📄 frmbind.frm

📁 本书由一流的权威撰写
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmBind 
   Caption         =   "Show Me The Moniker!"
   ClientHeight    =   624
   ClientLeft      =   48
   ClientTop       =   372
   ClientWidth     =   6948
   LinkTopic       =   "Form1"
   ScaleHeight     =   624
   ScaleWidth      =   6948
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdBind 
      Caption         =   "&Bind"
      Default         =   -1  'True
      Height          =   372
      Left            =   5880
      TabIndex        =   2
      Top             =   120
      Width           =   972
   End
   Begin VB.TextBox txtMoniker 
      Height          =   372
      Left            =   1920
      TabIndex        =   1
      Top             =   120
      Width           =   3852
   End
   Begin VB.Label Label1 
      Caption         =   "CoPoint display name:"
      Height          =   372
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   1692
   End
End
Attribute VB_Name = "frmBind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdBind_Click()
    Dim pt As CoPoint
    Set pt = GetObject(txtMoniker)
    pt.x = 100
    pt.y = 200
    pt.Translate 50, 50
    pt.Invert
    MsgBox pt.x & ", " & pt.y, vbOKOnly, "Quon!"
End Sub

⌨️ 快捷键说明

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