Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding run-time code to a header - grid control
Message
De
14/10/2005 10:35:31
Peter Garneau
Statistics Canada
Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01059114
Message ID:
01059143
Vues:
10
Thanks!

>>I would like to add extra columns to a grid control at run-time. However, my problem is that I would like to add code to the header.rightclick method for each new header. Is there a way to do this at run-time?
>>
>>Or even a more generic question would be... Is there a way to add code to a method at run-time?
>>
>>Thanks
>
>Yopu always can create your own class for a Header. Check HeaderClass and HeaderClassLib properties of the Column. Othwer way is to use BINDEVENT to Bind RightClick event of the Header.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform