ListControlItemCount

Help Contents GUI programming ListControls ListControlItemCount
ListControlGet ListControlColumnCount

ListControlItemCount alistcontrol


outputs the item count (the number of rows in wxLC_REPORT mode) of the ListControl alistcontrol.

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]]]
show ListControlItemCount lc

Reference:

ListControlGet ListControlColumnCount