Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling the default event handler
Message
 
 
À
28/04/1998 19:29:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00095545
Message ID:
00095593
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform