Help Contents / GUI programming / ListControls / ListControlSet

ListControlSet alistcontrol data

Command to set the items of the ListControl alistcontrol to the list of rows (which are lists of column items) in data. 

data is a list of rows. A element of rows is a list of items corresponding to the columns. 

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]]] 


previous: ListControlSetColumn	next: ListControlGetRow
