|
-
October 11th, 2001, 10:35 AM
#1
vertical text?
how can I put text in a label or other control that the letters will be verticals?
like:
"
A
B
C
"
10x,
yonatan
-
October 11th, 2001, 10:38 AM
#2
Re: vertical text?
Private Sub Command1_Click()
Dim i As Integer
Dim MyStr As String
Static Vert As Boolean
Label1.AutoSize = True
If Vert = False Then
For i = 1 To Len(Label1)
If i < Len(Label1) Then
MyStr = MyStr + Mid$(Label1, i, 1) & vbCrLf
Else
MyStr = MyStr + Mid$(Label1, i, 1)
End If
Next
Label1 = MyStr
Vert = True
Else
For i = 1 To Len(Label1) Step 3
MyStr = MyStr + Mid$(Label1, i, 1)
Next
Label1 = MyStr
Vert = False
End If
End Sub
Iouri Boutchkine
[email protected]
-
October 11th, 2001, 09:53 PM
#3
Re: vertical text?
Label1.caption = "A" & vbcrlf & "B" & vbcrlf & "C"
Regards,
The Beret.
Regards,
The Beret.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|