Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control column widths ...
Message
 
To
28/05/2001 15:02:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00511980
Message ID:
00511998
Views:
12
Jeremy,
Grids will often 'unset' values set in the designer, and it's difficult to figure out why one grid works and another doesn't. Usually it's simplest to put those values into the grid init code so they are set correctly each time the grid loads.

Another reason could be if you have a user preference table (as is common in frameworks like Visual MaxFrame). There the grid information can be reset to the 'saved' values, even though you (as designer) changed the values. The solution here is to ZAP the user preference table so the new grid values will be kept.

HTH
Barbara

>anytime I use a grid control that displays fewer coumns than the driving table or the total width of all the columns is greater than the width of the control ( requires horizonatal scroll ) the column widths I set are ignored and are set to the field widths of the driving table ( all logicals now have column width of 1 and Description has room for 200 character even though the average will only be 10 ( I set it to 80 ) ).
>
>how can I force the column widths init with what I set them to? ( I've tried setting movable and sizable to fault, but that sisn't seem to work, and i want the user to be able to do it if they want anyway.)
>
>thanks
>- jer
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform