DDgui Programmers Reference Guide by Nicholas J. Kingsley - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

DDgui_deleteitem%: id$, index%

 

Delete a line from a list-box or combo selection

 

Example :

 

DDgui_list("entry","Level 1|Level 2|Level 3")

DDgui_combo("entry2","Level 1|Level 2|Level 3")

 

DDgui_deleteitem("entry",2)

DDgui_deleteitem("entry2",1)

 

Result :

 

This function allows a line (or the complete list) to be deleted from a list-box or combo widget