plastix Posted October 26, 2006 Share Posted October 26, 2006 Hi all Can't seem to find an answer to this one... I have a standard Combo Box that I would like to make READ ONLY. I tried setting extended style to 2048, but didn't help. TIA Link to comment Share on other sites More sharing options...
xcal Posted October 27, 2006 Share Posted October 27, 2006 #include <GUIConstants.au3> GUICreate("My GUI combo") ; will create a dialog box that when displayed is centered GUICtrlCreateCombo ("item1", 10,10, 100, 20, $CBS_DROPDOWNLIST) ; 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 Like so? How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
plastix Posted October 27, 2006 Author Share Posted October 27, 2006 many thanks. exactly. didn't realise had to sepcify that as was functioning as a 'drop down'. Cheers 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