Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling selected objects for later restore
Message
 
 
To
06/09/2006 10:02:07
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01151156
Message ID:
01151332
Views:
40
Hi James,

Dopey me! I definitely DO have all my objects subclassed however I have not previously created a custom method of a subclassed object. By looking harder, I found it in the menu.

Anyway, I added the code but the buttons whilst technically disabled (that is, they do NOT function whilst the child form is open and has focus) the buttons still 'appear' enabled.

The bottom line is I didn't really explain what I wanted in full. I need to grey out the buttons so that not only are they disabled, they appear disabled. I hope I have now explained the problem.

Are you aware of a code snippet that loops through the objects (in this case buttons) and saves their enabled state to an array so that they can be bulk disabled -
.SetAll("ecommand",.F.,"Enabled")
then returned to their proper state once the child form is closed?

Regards..Rex

Vale...Steve Irwin!!!
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform