Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse with original field caption
Message
 
 
À
24/02/2000 15:18:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00335913
Message ID:
00337051
Vues:
23
>> Very interesting approach. Just tell me, how can you modify your Grid builder for doing this? Or how can you do it programmatically in your grid class?
>
>All my grids are built at runtime from a table that holds the order, wna d width of the column, as well as its control source, link to its captionin the catption table, and also an index tag that I should use to order the table when the header is clicked. (This makes it easer to store and restore grid states), so I don't need to do any grid builder things because its all done a t runtime.

Do you mean you create your grids in form's Init method (or some method called from Init, like MakeGrid) and use thisform.NewObject(thisform.GridName,thisform.GridClass) (forgot the correct syntax).
Could you provide a code, please? Again, just from my curiosity :)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform