Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent() and This
Message
De
07/05/2009 10:55:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/05/2009 10:52:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01398345
Message ID:
01398364
Vues:
61
>>I want to put the same code in headers and textboxes for several columns. The current approach is to copy the same code, but I thought BindEvent() might be a better approach. Now, the current commands include references to This, and I assume that in the delegate code, This would refer to the delegate object. Is there a way to find out the original object (e.g., some grid column, or Grid Header in the column) from which object the delegate method was called?
>>
>>TIA,
>>
>>Hilmar.
>
>Better it is to put the code into a header , textbox class.

How do I do to subclass those in a grid? Can this be done visually?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform