Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Addressing question..
Message
De
24/11/1997 15:25:16
 
 
À
24/11/1997 15:03:21
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:
00062003
Vues:
38
>>I have a FORM in vfp50. On it, I have
>>SAVE/CANCEL buttons in several places
>>living different PAGES. I would like to write
>>a METHOD where I can control the buttons
>>visible property. I am not sure how
>>to address these buttons.
>>example - thisform.cmdsave.visible = .f.
>>any ideas?
>
>I can't exactly tell what you are trying to do, but that should work. You can access the buttons from the containers that it is on, so you can use thisform.pageframe1.cmdMyButton.visible, or thisform.cmdMyButton.visible or frmMyForm.cmdMyButton.visible.
>
>If this isn't the right answer, could you be a little more specific with your question?

Hi Jay -
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..
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