Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling the default event handler
Message
 
 
To
28/04/1998 19:29:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00095545
Message ID:
00095593
Views:
22
Kenneth,

When there is a container class involved you need to add that name in your :: call. So on the form in the modified cmdQuit.Click() you'd :

MyButtons.cmdQuit::Click()

>I created a container class MyButtons which contains a few commandbuttons, one of them is called cmdQuit. The default action of cmdQuit.Click() is ThisForm.Release().
>Now I added MyButtons to a form, and I modified cmdQuit.Click(), the default cmdQuit.Click() is not invoked.
>
>How can I invoke the overridden default handler?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform