Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CommandGroup, Container + button NOT greyed out problem
Message
From
23/04/2001 14:02:16
 
 
To
23/04/2001 13:55:24
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Netherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00498664
Message ID:
00498665
Views:
17
This message has been marked as the solution to the initial question of the thread.
>Normaly when I disable a button it gets greyed out.
>
>But when I put some buttons in a commandgroup or container
>an I disable the container all buttons keep the normal
>color. They are disabled but they look enabled.
>
>I can disable them one by one. Everything goesjust fine then.
>But, is there a way to disable them all whitout disabling
>each button seperately ?

You could put the following in the REFRESH of the container.

THIS.SETALL('ENABLED', THIS.ENABLED, 'COMMANDBUTTON')

When you call the form's refresh all the controls in the container will follow the container's enabled state.

HTH
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform