Jump to content
Sign in to follow this  
nend

Combobox empty

Recommended Posts

Is it possible to empty the value from a combobox without add a empty value to it?

Now i use

GUICtrlSetState($combo, $GUI_FOCUS)

Send("{del}")

But this option won't work al the time.

Share this post


Link to post
Share on other sites

_GUICtrlComboBox_SetEditText ($hCombo, "")

Hoi Garyfrost,

Thanks for your reply!

I thinks this functie works for v3.2.10.0 but I still have 3.2.8.1 because in 3.2.10.0 are so much functions rewritten en I have a very large programm (7800 lines).

I have to rewrite my programm to use this.

I wil do this in time so I can stil use the newest autoit version in the future,

Have you got a different solution for me that I can use now?

Share this post


Link to post
Share on other sites

I believe there's an equivalent UDF in your version for what Gary posted. But I think you could also use ControlSetText.

Thanks this work fine for me!

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  

×
×
  • Create New...