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

Click here to load this message in the networking platform