Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Addressing question..
Message
From
24/11/1997 15:25:16
 
 
To
24/11/1997 15:03:21
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00061995
Message ID:
00062003
Views:
44
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform