Help Contents / GUI programming / ListControls / ListControlSetRow

ListControlSetRow alistcontrol arow data

Command to set the row at arow of the ListControl alistcontrol to the list of items in data. 

arow is the row (Y in wxLC_REPORT mode) that's set. It's a zero-based integer. 

data 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]]] 
	ListControlSetRow lc 0 [Liogo [Lionel Laske]] 


previous: ListControlDeleteItem	next: ListControlSetColumn
