?? frmerror.frm
字號:
VERSION 5.00
Begin VB.Form frmError
AutoRedraw = -1 'True
Caption = "Attempting to access Private members"
ClientHeight = 1230
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1230
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
End
Attribute VB_Name = "frmError"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Fig. 16.3
' Attempting to access Private data
Option Explicit
Private Sub Form_Load()
Dim t As New CTime1
t.mHour = 8 ' Generates Error
t.mMinute = 17 ' Generates Error
Print t.ToStandardTime()
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -