Jump to content

Controlling multiple controlids simutaniously


Recommended Posts

I've got 6-12 controlids that i use $GUI_SHOW and $GUI_HIDE on this one group of controlIDs in many different places, is there any way i can group these IDs so i can just do GUICtrlSetState( $group , $GUI_SHOW )

Edited by Swimming_BIrd
Link to comment
Share on other sites

Coded directly into the browser, so untested :evil:

If StringInStr("|" & $cButton1 & "|" & $cButton2 & "|" & $cButton3 & "|","|" & $msg & "|") Then _
GUICtrlSetData($msg,"Clicked !")

Edit : Bug fixed :)

Edited by Helge
Link to comment
Share on other sites

good question... i used this

For $dis = 1 To 9

GUICtrlSetState($Start_[$dis], $GUI_HIDE)

Next

hope it helps

8)

<{POST_SNAPBACK}>

this is embarassing, i'm having a problem putting each of the gui items inside of an array :">

i think i may not be innitializing it propperly.

Link to comment
Share on other sites

this is embarassing, i'm having a problem putting each of the gui items inside of an array  :">

i think i may not be innitializing it propperly.

<{POST_SNAPBACK}>

i put in these

Dim $Start_[10]

then

Start_[1] = GUICtrlCreate....

Start_[2] = GUICtrlCreate....

8)

Edited by Valuater

NEWHeader1.png

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