Jump to content
Sign in to follow this  

Reading from Combo

Recommended Posts

In my GUI I created Combo using GUICtrlCreateCombo. In order to read something from it, first I need to set some data using GUICtrlSetData. But is there a way so I can read from combo something that is manually entered using keyboard?

Cheers :)

Share this post

Link to post
Share on other sites

Just use GUICtrlRead() as usual.

GUICreate("My GUI",150,100)
GUICtrlCreateButton("Check value",10,10)
GUISetState (@SW_SHOW)
While 1

Func close ()

Func check()
    MsgBox(0,"Value of combo",GUICtrlRead($combo))


Broken link? PM me and I'll send you the file!

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...