xZZTx Posted May 6, 2008 Share Posted May 6, 2008 Well i need help with gui because im still new at this i need help makeing like a selection bar.. like in google if you start typeing someting it would remember what you have typed i really don't know how to explane it..i need it to be like thisbut i don't want it to be input so you can only pick one of the optionsreally sorry about being so vage and my spelling errors...if you can help thank you if not.... thanks anyway.. Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times.. Link to comment Share on other sites More sharing options...
Zedna Posted May 6, 2008 Share Posted May 6, 2008 From AutoIt helpfile: #include <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $msg GUICreate("My GUI combo") ; will create a dialog box that when displayed is centered GUICtrlCreateCombo("item1", 10, 10) ; create first item GUICtrlSetData(-1, "item2|item3", "item3") ; add other item snd set a new default GUISetState() ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd EndFunc ;==>Example Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
smashly Posted May 6, 2008 Share Posted May 6, 2008 but i don't want it to be inputso you can only pick one of the optionsGUICtrlCreateCombo("item1", 10, 10, 100, 20, $CBS_DROPDOWNLIST) Link to comment Share on other sites More sharing options...
xZZTx Posted May 8, 2008 Author Share Posted May 8, 2008 (edited) Sorry Forgot To check back (no one ever help....) and thats exactly what i needed thx guys ^^ Btw i don't really know how buttons work but some how i need for when the button is press it calls function("Save") i did this While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() Call("save") Select Case $msg = $btn exitloop EndSelect Wend but i think that makes it save constently.... any words of advice? Edited May 8, 2008 by xZZTx Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now