Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I skip the parent method?
Message
De
01/01/1998 20:26:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
How do I skip the parent method?
Divers
Thread ID:
00068824
Message ID:
00068824
Vues:
78
I have a txtBase class.
I have sub-classed inGrid under it (to have some of my own PEM available).
I have sub-classed inGrid2 under that, in order to have an alternatate method of doing searches.

My problem.
I have written code in inGrid2.GotFocus to replace inGrid.GotFocus.
Now how can I get txtBase.GotFocus to execute without inGrid.GotFocus executing?

Maybe something like:

inGrid2.GotFocus
nodefault && to prevent inGrid.GotFocus from executing

txtBase::GotFocus()

Any reason why this won't work?

I don't like hardcoding in a class name, but is there any other way?

TIA

Bill
Bill Morris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform