Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid class with click header method ordering table
Message
From
07/11/1999 18:27:51
 
 
To
07/11/1999 18:20:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00288282
Message ID:
00288283
Views:
31
>I am trying to build a grid class where the click method of the header orders the table.
>
>I got the generic code. My problem is to insert the code in the click method of header when I do not know how many columns the grid has.
>
>The generic code tests if the column has one index associated.
>
>I thought to use setall method, but this method is only for properties.
>
>Any sugestion?

You can define your own Header class programmatically (DEFINE CLASS) with needed code in its click event and add it to a column in run-time (AddObject).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform