Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a line of code to dblclick of 52 cells in a grid
Message
De
21/02/2008 14:53:32
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
21/02/2008 14:34:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01294893
Message ID:
01294961
Vues:
12
>
>I am also fairly new to BindEvent, so I have a question: If anything else is already programmed in the specific event (in this case, Column.DblClick()), directly or through inheritance, would that code still be executed? Or would the BindEvent() replace the code, just as if I wrote the code directly and forgot to include DoDefault()?

Hi
You can control this with nFlag parameter sent to BindEvent() function.
IMO, this function (and the ability to bind to windows messages ) was one of the most useful additions to VFP.
You don't need anymore to always redesign classes to implement new behavior, juste use BindEvent and RaiseEvent

See my Download #28888 , which uses it extensively.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform