Help Contents / GUI programming / ListControls / ListControlGetRow

ListControlGetRow alistcontrol arow

outputs the row at arow of the ListControl alistcontrol. 

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

Output is a list of items (words) 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]]] 
	show ListControlGetRow lc 0 
	show first bf ListControlGetRow lc 0	;It's a word 


previous: ListControlSet	next: ListControlGetColumn
