Help Contents / GUI programming / ListControls / ListControlSetColumn

ListControlSetColumn alistcontrol col data

Command to set the column at col of the ListControl alistcontrol to the list of items in data. 

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

data is a list of items corresponding to the rows. 

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]]] 
	ListControlSetColumn lc 1 [Brian George] 


previous: ListControlSetRow	next: ListControlSet
