Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding run-time code to a header - grid control
Message
 
À
14/10/2005 09:57:20
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:
01059116
Vues:
12
>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform