Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Navigation Buttons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00532802
Message ID:
00532814
Vues:
11
>I have used the data navigation buttons found in the Component Gallery in Foxpro on a form. When I add any custom code to the on event click on any of the buttons, the original code os not executed. For example if i add code the the on event click for the next button, I can no longer scroll through my records. As soon as I removed this code, I can scroll throught the records.
>
>How can I add code without losing the original code of the button? I am new to Foxpro and object oriented progamming.
>
>Thanx
>Stuart

VFP is OOP by exception. Which means basically some events/methods are completely overridden and some are not. Just put DODEFAULT() at the top of your click event and the parent code will execute. Btw, for events that always execute VFP base code, we have NODEFAULT. :)
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform