Jump to content

Gui Selection..?


Recommended Posts

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

Posted Image

i need it to be like this

but i don't want it to be input

so you can only pick one of the options

really 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

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
Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...