form1.frm

来自「150个经典VB API应用实例.全部是运用API写的小程序」· FRM 代码 · 共 41 行

FRM
41
字号
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "mschrt20.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3120
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4125
   LinkTopic       =   "Form1"
   ScaleHeight     =   3120
   ScaleWidth      =   4125
   StartUpPosition =   3  '窗口缺省
   Begin MSChart20Lib.MSChart MSChart1 
      Bindings        =   "Form1.frx":0000
      Height          =   3135
      Left            =   0
      OleObjectBlob   =   "Form1.frx":0015
      TabIndex        =   0
      Top             =   0
      Width           =   4095
   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()
    Me.MSChart1.chartType = VtChChartType3dCombination
    Me.MSChart1.ColumnCount = 5
    Me.MSChart1.RowCount = 3
    Dim column, row As Integer
    For column = 1 To Me.MSChart1.ColumnCount
        For row = 1 To Me.MSChart1.RowCount
            Me.MSChart1.column = column
            Me.MSChart1.row = row
            Me.MSChart1.Data = Rnd * Rnd
        Next
    Next
End Sub

⌨️ 快捷键说明

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