Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I skip the parent method?
Message
From
01/01/1998 20:26:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How do I skip the parent method?
Miscellaneous
Thread ID:
00068824
Message ID:
00068824
Views:
83
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
Next
Reply
Map
View

Click here to load this message in the networking platform