Help Contents / GUI programming / ListControls / ListControlColumnCount

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 


previous: ListControlItemCount	next: ListControlColumn
