ListControlSetItem

HC GUI programming ListControls ListControlSetItem
ListControlInsertItem ListControlGetItem

ListControlSetItem alistcontrol arow col aitem


Command to set the item aitem at position (column col, row arow) of the ListControl alistcontrol.

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

col is the column (X in wxLC_REPORT mode) of the item. It's a zero-based integer.

aitem is the item text that's set.

Examples:

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

Example:

References:

ListControlInsertItem ListControlGetItem