Jump to content

Recommended Posts

Posted

Hi there

Everything's in the title, do you know how to do?? I tried to put $ES_READONLY as an extended style, but nothing happens. Users can still modify the content of my combo box. Can you help me?

This is how I create the combo box:

$combo = GUICtrlCreateCombo ( " ", 60, 50, -1, -1, -1, $CBS_SORT+$ES_READONLY)
GUICtrlSetData(-1,"Gams|Matlab|Soft|Bidule")

$CBS_SORT doesn t work too, but it's not as important as the read only style

Thanks for help

Posted (edited)

$CBS_DROPDOWNLIST style

<{POST_SNAPBACK}>

OK thx for the style and the short delay for answer. It works.

It wasn't taken in count before because I changed extended styles and not styles. But I didn't know DROPDOWNLIST.

Edited by 440LVB

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
  • Recently Browsing   0 members

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