possible to put right click menu with delete option for combo box items?
this is the combo:
and this is the combo's load function, what's read datas from saved .ini file
how can i do it?, right click to one item of combobox -> then delete option -> then delete it from .ini file...
it will be an useful option.. :/
this is the combo:
[ autoit ]
$load = GUICtrlCreateCombo("", 112, 120, 185, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL)) GUICtrlSetOnEvent(-1, "_load")
and this is the combo's load function, what's read datas from saved .ini file
how can i do it?, right click to one item of combobox -> then delete option -> then delete it from .ini file...
it will be an useful option.. :/
[ autoit ]
Func _load() For $i = 0 To 2 ConsoleWrite($i & " - " & IniRead($sIniFile, GUICtrlRead($load), $i, "") & @CRLF) GUICtrlSetData($aControlID[$i], IniRead($sIniFile, GUICtrlRead($load), $i, "")) Next If IniRead($sIniFile, GUICtrlRead($load), 3, "") = 1 Then ;ConsoleWrite("Checked" & @CRLF) GUICtrlSetState($aControlID[3], $GUI_CHECKED) EndIf EndFunc