Article ID: 120523
Article Last Modified on 12/9/2003
'1 - Horizontal' or '3 - Both'
Sub Form_Load ()
Text1.Left = 100
Text1.Top = 100
Text1.Width = 4000
Text1.Height = 1600
Command1.Left = 4500
Command1.Top = 100
Command2.Left = 4500
Command2.Top = Command1.Top + Command1.Height + 25
Command3.Left = 4500
Command3.Top = Command2.Top + Command2.Height + 25
End Sub
Sub Command1_Click ()
Dim A As String
Dim B As String
'A single '1' will appear in the Text
'box and the Font will not be bold although
'the property is set to True
Text1.Text = ""
Text1.FontName = "MS Sans Serif"
Text1.FontBold = True
A$ = String(4096, "1")
B$ = String(4096, "2")
A$ = A$ & " " & B$
Text1.Text = A$
End Sub
Sub Command2_Click ()
Dim A As String
Dim B As String
'No text will appear in the Text1
Text1.Text = ""
Text1.FontName = "MS Sans Serif"
Text1.FontBold = True
A$ = String(4096, "1")
B$ = String(4096, "2")
A$ = A$ & B$
Text1.Text = A$
End Sub
Sub Command3_Click ()
Dim A As String
Dim B As String
'A blank line will appear followed by the 'Y's
Text1.Text = ""
Text1.FontName = "MS Sans Serif"
Text1.FontBold = True
A$ = String(4096, "X")
B$ = String(4096, "Y")
A$ = A$ & B$
Text1.Text = A$
End Sub
Additional query words: 2.00 3.00 buglist2.00 buglist3.00
Keywords: kbbug KB120523