Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing a form control's parent method
Message
De
10/12/1997 11:25:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00065004
Message ID:
00065014
Vues:
54
>I have a container class on my form called commandbutton. The click method has the code: thisform.recAdd()
>Included in the code for Thisform.recAdd is:
>
>Thisform.commandbutton.parent.disableupdate()
>
>Disableupdate is a method of class commandbutton. But I get error 1734 - "Property DISABLEUPDATE is not found"
>
>How should I be referencing this method?

Thisform.commandbuttun.parent references the form.
If you need to reference the commandbutton, just use thisform.commandbutton.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform