Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I set the property of a button from a procedure?
Message
 
À
16/04/1998 16:05:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092543
Message ID:
00092688
Vues:
33
>OK - we need to talk..
>You are right: my command should... be:goform.helpdesk_maintform1.cmdenterquery.Enabled=.t....
>THIS WORKS AND I AM HAPPY!!! - but I want to understand what I am doing here.
>DO FORM updatcal name goform linked - what does this do? does it put my form
>in memory so I can reference the objects on the form. I always thought DO FORM
>calls a form?

It's roughly the same as CREATEOBJECT() in that it creates a memory variable by which you can manipulate the form and its objects. It still runs the form, but you now have access to it from the outside.

BTW, you might want to re-read Ed's posts. He's right about the correct OOP way of doing this.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform