Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column resizing at run-time -why?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00184544
Message ID:
00184546
Views:
25
>Can someone tell me what this is:
>
>I create a form with a table in the DE.
>I add a grid to the form and set the RecordSource to the table.
>I specify a ColumnCount for the columns I want (3 or 4, etc..).
>I set the ControlSource of each column to different field names.
>
>When running the form, all column widths are resized to what looks like default widths! Everything is very simple - no subclassed controls, no views, no method codes, etc...
>
>I've tried setting Resize of columns to .F. (??? desparate!).
>
>Any help? (I tried searching previous messages, but it errors out)
>
>Mark

Anytime you touch grid.recordsource you may force grid to rebuild from scratch, including resetting column.width back to some 'default' values.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform