ListControlColumnCount

HC GUI programming ListControls ListControlColumnCount
ListControlItemCount ListControlColumn

ListControlColumnCount alistcontrol


outputs the column count (the number of columns 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 ListControlColumnCount lc

Reference:

ListControlItemCount ListControlColumn