Jump to content

Recommended Posts

Posted

I am a newbie, but the program is helping me do alot of things that I normally would take me a long time. I do have a quesiton.

I have the following combo box and it work great:

Dim $agencyST = GUISetControl("combo", "my combo", 150, 250, 50, 30)

GUISetControlData($agencyST,"IA|MN|WI|MO|TX", "IA")

I can select items from the combo box with the keyboard, by typing the 2 characters, but is there a way to get it to drop down with the mouse. Also I would like to know how to get the input back from the combo and how to use it.

DO I just use:

While 1

sleep(100)

$msg = GuiMsg(0)

Select

Case $msg = -3

Exit

Case $msg = 0

;;;

Case $msg = $agencyST

if $agencyST = "TX", etc

or what, thanks

Mr. V

;;;

Posted

Thank you for the quick response, but then how do I get the input back from a checkbox:

if I have the variable: $checkbox1

do I just do a if statement for -1 or 0, and run commmand accordingly.

thanks again

Posted

ok the combo box still doesnt work, this is what I have:

$agencyST = GUISetControl("combo", "my combo", 150, 250, 50, 180)

GUISetControlData(-1,"IA|MN|WI|MO|TX")

thanks for the help

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