Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Help with Combo box

$
0
0
Hey Guys,

i have the below code i am trying to get it to when i select region it will run a certain program how do i do this with combo boxes


[ autoit ]      
#include #include #include #include #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("LoL Launcher", 304, 153, 359, 124) GUISetIcon("D:\Swift\Desktop\lol.ico", -1) $DropBox = GUICtrlCreateCombo("Choose Your Region", 79, 66, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) GUICtrlSetData(-1, "European West(EUW)|North American(NA)") $Button1 = GUICtrlCreateButton("Launch LoL", 114, 112, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd

any help would be appreciated

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>