|
-
Sep 26th, 2000, 06:39 AM
#1
Thread Starter
Lively Member
Hi,
Does anybody know how I can draw a horizontal line under a string or integer?
The problem is that I don't want to hardcode the line because the position of the integer will change.
'command button and picturebox
Private Sub Command1_Click()
Dim number As Integer
Randomize
number = Int(Rnd * 200)
Picture1.Cls
Picture1.FontSize = 14
picture1.print number
end sub
How could I have it so that, regardless of whether I have:
picture1.print number
or
picture1.print " " & number
or
picture1.print "You will see that the answer is " & _
number & ", so you have failed the test."
the line will always appear under the integer, number?
Thanks for any help!
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
|