Jump to content

Recommended Posts

Posted (edited)

In Winbatch when I made a combo box I added a line that would give me the options that I could choose

MyDialog004=`135,009,044,014,STATICTEXT,DEFAULT,"State",DEFAULT,36,DEFAULT,DEFAULT,DEFAULT,DEFAULT`

State = "AK,AL,AR,AZ,CA,CO,CT,..."

I am able to create the combo box in Autoit but can't figure out how to get default values in there.

$State = GUICtrlCreateCombo("State", 232, 24, 105, 21)

Edited by Kurto2021
Posted

Kurto2021...Look in the help file for GUICtrlSetData

sweet....thanks a lot....I got it working.

I have to remove my habits from WinBatch but I think this is the better program.

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
×
×
  • Create New...