Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid header not displaying
Message
From
10/10/2001 19:25:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00566594
Message ID:
00566721
Views:
13
>>I think Dragan is referring to programmatically calculating an appropriate value for the column's width and then setting it to the new value like so:
>
>"Thisform.Grid1.Columns(1).Width = nSomeValue"
>yes that did it, Not sure why I had to do this though.


Fox is taking its best guess at what the contents of the column will be, based on the first record available when the grid is built. If you're having a calculated value there, you get what VFP thinks is enough. You may help it with surrounding the expression for the controlsource of 6th column with padr(expression, nn) where nn is any number you find sufficient. Whenever Fox needs to measure the width of something, preformatting helps.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform