ListControlDeleteItem

Help Contents GUI programming ListControls ListControlDeleteItem
ListControlGetItem ListControlSetRow

ListControlDeleteItem alistcontrol arow


Command to delete the row arow of the ListControl alistcontrol.

arow is the row (Y in wxLC_REPORT mode) that's deleted. It's a zero-based integer.

Example:

lc=(ListControl [][MyListControl][][][]
	wxLC_REPORT [0 0][300 200])
ListControlInsertColumn lc 0 [Logo]
ListControlInsertColumn lc 1 [Main Author]
ListControlSet lc [
	[UCBLogo [Brian Harvey]]
	[MSWLogo [George Mills]]]
ListControlDeleteItem lc 0

Reference:

ListControlGetItem ListControlSetRow