Jump to content

Recommended Posts

Posted (edited)

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
Posted (edited)

Coded directly into the browser, so untested :evil:

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

Edit : Bug fixed :)

Edited by Helge
Posted

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.

Posted (edited)

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

Posted

no, this is the error i get when i try to run it

C:\Documents and Settings\tatlas\Desktop\Signatures Autoit\prelim script.au3 (84) : ==> Variable used without being declared.:

$usin[1]= GUICtrlCreateInput ("", 80,185,35,20)

^ ERROR

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
  • Recently Browsing   0 members

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