|
-
Oct 18th, 2000, 04:31 PM
#1
Thread Starter
New Member
Hi there....
I'm new to vb and am having problems
with the scalemode property.
More specifically...
I want to have a fraction :
say: 8
-------
5
to always be printed to a picturebox ->"picture1.print"<-
with a variable length string:
eg: of desired output->
eg: heloooooooooooooooooooooooo 8
-------
5
or : helooo 8
-----
5
and the distance between the end of the string and the start of the fraction to always be 2 characters long!
It appears to be an easy problem, but when I set the scalemode of the picturebox to be = 4 (character)
and I add say 10 to the CurrentX , this gives me
about 20 characters of space, the problem is that it
is not quite 20, and to make things worse , if I change
the font, it seems to introduce all sorts of non linear
relationships between the number I assign to
CurrentX and the number of "character spaces" I get
in return.
Any help would greatly be appreciated.
Borris King.
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
|