Jump to content
Sign in to follow this  
wolverine

Combo Box Help

Recommended Posts

wolverine

Hi everyone. I've just started learning AutoIt and had a question I was hoping someone could help me on. How do you get the information from a combo box?

CODE
GUICtrlCreateLabel ("Location",5,10)

GUICtrlCreateCombo ("North", 100,5,100)

$Location = GUICtrlSetData(-1,"South|East|West","N/A")

...

Switch $Location

Case 1

$Location = "North"

Case 2

$Location = "South"

Case 3

$Location = "Ease"

Case 4

$Location = "West"

EndSwitch

Is this correct? Thanks.

Share this post


Link to post
Share on other sites
BillLuvsU

GUICtrlRead( )

Hope that helps. :)

Edited by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
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
Sign in to follow this  

×