Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accurate width in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00736659
Message ID:
00736671
Views:
7
You cannot do that with non-proportional fonts because each charater has different width.

>Hi.
>Is there a way of programatically setting the width of a grid column to an exact size.
>
>e.g. I want my a grid column width to be say 20 (i.e. Fit 20 characters exactly) irrespective of the font used. If I set the width to 20, it invariably shows maybe 25 characters , although this can change depending on what font is used.
>
>Regards,
>
>Gerard
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform