Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent() and DoDefault
Message
De
16/05/2010 23:58:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
BindEvent() and DoDefault
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01464849
Message ID:
01464849
Vues:
118
I have some code, which is repeated in all grid columns in most grids all over the application. In trying to centralize this, to have the code in a single place (and, especially, not having to call a special program every time I add a grid column!), I experimented with BindEvent(). The code contains This. and ThisForm., which I managed to translate.

But where I am stuck is that I don't think it possible to translate a NODEFAULT in the original code. This occurs in Header.MouseDown and in Text1.DblClick. It doesn't seem feasible to "send" the NODEFAULT from the delegate back to the calling object. Any ideas?
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform