Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create a grid header class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00421369
Message ID:
00421407
Vues:
24
>I need to create a class with specific methods in the header of a grid. I can't figure out how do this. I can subclass the grid ok but then I don't have access to the header methods. Any tips?

Hi Joe,
To do this you will need to programmatically create you header class. Then in your grid class, you will need to programmatically replace the header with your class. I do this in the Init() if a property is set. I also have an assign method on ColumnCount so that when a column is added at run-time, I can replace the header if required.
HTH,
Bill Armbrecht
VFP MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform