Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Width Control in a Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00921571
Message ID:
00921608
Views:
10
>Hi to all
>I am populating a grid dynamically from a table. Within the table is the column width for every column. If the user changes the width of a column I would like to update the corresponding field’s width value in the table used to populate. Since grid columns are added on the fly I can’t write code to achieve the above. Any recommendations?
>
>Thanks in advance
>
>Willie van Schalkwyk
>www.cyberprop.com

Hi Willie,

One idea would be to use custom Header class, like in message #026578 In the Header MouseMove you can check, if the column was moved or resized and act accordingly. That's just an idea, which popped into my mind. See, if it's anyway helpful.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform