Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Addressing question..
Message
De
24/11/1997 15:48:33
 
 
À
24/11/1997 15:28:57
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00061995
Message ID:
00062009
Vues:
70
>>for example... I will have a SAVE button on pageframe1.page1 and
>>another SAVE button on pageframe1.page2. I want to call a method
>>and set the SAVE button on pageframe1.page1 visible property to F.
>>thisform.cmdsave.visible = .f. does not work. Remember, I am using a
>>formset. I want a generic method that sets all SAVE buttons to visible = .f..
>
>You should be able to accomplish that by drilling down through the controls on the forms.
>
>The reason that thisform.cmdSave.visible = .f. doesn't work, is because it looks like you have it on a pageframe. Unlike VB, VFP requires that you refer to objects from their containers. So, it'd be thisform.pageframe1.page1.cmdSave.visible = .f.
Is there no other way? Can I set up some kind of memory
variables. It seems like to much work to have to refer to
objects in their container. I have a program with 4 SAVE buttons.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform