?? form1.frm
字號:
VERSION 5.00
Begin VB.Form frmStringSpace
Caption = "Using String and Space"
ClientHeight = 630
ClientLeft = 60
ClientTop = 345
ClientWidth = 3270
LinkTopic = "Form1"
ScaleHeight = 630
ScaleWidth = 3270
StartUpPosition = 3 'Windows Default
Begin VB.ListBox lstOutput
Height = 645
Left = 0
TabIndex = 0
Top = 0
Width = 3255
End
End
Attribute VB_Name = "frmStringSpace"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Fig. 8.8
' Using String and Space
Option Explicit
Private Sub Form_Load()
Call lstOutput.AddItem("10 A's: " & String$(10, "A"))
Call lstOutput.AddItem("5 a's: " & String$(5, 97))
Call lstOutput.AddItem("5 a's preceded by 5 spaces: " & _
Space$(5) & String$(5, "a"))
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -