Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need function to cvt text to bitmap
Message
From
04/03/2003 20:04:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Need function to cvt text to bitmap
Miscellaneous
Thread ID:
00761292
Message ID:
00761292
Views:
48
Have 2.6 app. running under vis 7.0

Users are allowed to enter text values for command btns.

Problem:
I can limit number of characters user is allowed to enter but it still changes the size of the buttons because font means an "O" is not same width as "I", etc.

I tried using foxpro textwidth command but it has a bug (according to MSFT) and I can attest that it does not work. I was going to reduce font till it fit.

Seems the only way I will get this to work is allow user to enter text, cvt that text to a bitmap and assign the bitmap to the button. Of course the bitmap will have to be the same size (if that makes sense), no matter what the text.

Any ideas welcome. I have tried the SIZE clause of the get command but that does not help. I have tried about every font there is but no success.

TIA,
John
Next
Reply
Map
View

Click here to load this message in the networking platform