Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determing form size necessary to display arbitrary text
Message
From
31/10/2001 06:25:21
 
 
To
30/10/2001 22:44:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00575284
Message ID:
00575521
Views:
31
This message has been marked as the solution to the initial question of the thread.
Hi Malcom;

I really glad to help you to find the answer of your need.

>the edit control does not have an Autosize property. The label control has an autosize property, but its text value must be less than 256 characters.

The fontmetric(7) gives you the maximun width (in pixels) of a single character. You can assembler your form using this like the main coordinate for your form's width.


Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform