例10.3a.frm

来自「一本学习Visual Basic编程的好书」· FRM 代码 · 共 33 行

FRM
33
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   2325
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4125
   LinkTopic       =   "Form1"
   ScaleHeight     =   2325
   ScaleWidth      =   4125
   StartUpPosition =   3  '窗口缺省
   Begin VB.PictureBox Picture1 
      Height          =   1965
      Left            =   75
      ScaleHeight     =   1905
      ScaleWidth      =   3555
      TabIndex        =   0
      Top             =   0
      Width           =   3615
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    Show
    Picture1.Print "在图片框内写字和画圆"
    Picture1.Circle (1200, 1000), 600, RGB(0, 0, 255)
    Picture1.PSet (1200, 1000), RGB(255, 0, 0)
End Sub

⌨️ 快捷键说明

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