Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Grids
Message
From
16/05/1997 19:08:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00032435
Message ID:
00032654
Views:
34
You can define a Header class in your main prg DEFINE CLASS HEADERSS AS HEADER PROCEDURE CLICk <... your code ...> ENDPROC ENDDEFINE and in the init event of the grid : for i=1 to this.columncout this.Columns(i).removeobject('header1') this.Columns(i).addobject('header1','headerss') endfor I hope this help. | I have created a grid that resets the order of a table when the header of | the column is clicked. I did this using the Grid.column.header.click() | event. | | Is there any way I can create a grid to work this way at run-time? I don't | always know at design time how many columns there will be etc. As far as I | know I can't subclass column or header or can I ? | | Any help appreciated.
Previous
Reply
Map
View

Click here to load this message in the networking platform