faustf Posted August 31, 2016 Share Posted August 31, 2016 (edited) hi guys i have a combobox created in first function of gui , the data of combo is generated in second part i know for insert data in it you must use example this For $i = 0 To UBound($aResultCondition) - 1 GUICtrlSetData($SITIWEB_NewItem_Combo5, $aResultCondition[$i]) Next but if i want insert in the first position of combo ??? like $SITIWEB_NewItem_Combo5 = GUICtrlCreateCombo("first position", 10, 374, 105, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL)) ; Combo5 For $i = 0 To UBound($aResultCondition) - 1 GUICtrlSetData($SITIWEB_NewItem_Combo5, $aResultCondition[$i]) Next i must destroy and recreate a combobox ?? , not exist another solution ?? thankz at all Edited August 31, 2016 by faustf Link to comment Share on other sites More sharing options...
AutoBert Posted August 31, 2016 Share Posted August 31, 2016 You can use _GUICtrlComboBoxEx_InsertString for insert at specific position. faustf 1 Link to comment Share on other sites More sharing options...
faustf Posted August 31, 2016 Author Share Posted August 31, 2016 thankz so much 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