Jump to content

disabling a group


Recommended Posts

Oops, I think I am! :"> Time to get myself out of hot water:

I thought that perhaps ACalcutt had used GUICtrlCreateGroup() to house a group of controls and was wondering if a single GUICtrlSetState() call on that Group control would disable all 'children' controls within. (I know that this can be done with some other GUI-oriented programming languages like Delphi.)

My apologies ACalcutt and if you haven't tried this approach, it definitely might be worth a go. Do be sure to share your result with us if you do though! :whistle:

Link to comment
Share on other sites

you could create a Child window using GuiCreate() that 'zones off' the controls you wish to group disable/enable, then disable or enable the child window by itself. The only thing that's different using this approach is that the controls don't get 'greyed out'

they should be though, perhaps i'll suggest this to the dev's.

[u]Do more with pre-existing apps![/u]ANYGUIv2.8
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...