Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Grids
Message
De
16/05/1997 19:08:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00032435
Message ID:
00032654
Vues:
36
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform