Help Contents / GUI programming / ListControls / ListControlGetItem

ListControlGetItem alistcontrol arow col

outputs the item's text of the item at position (column col, row arow) of the ListControl alistcontrol. 

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

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

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 ListControlGetItem lc 0 1 


previous: ListControlSetItem	next: ListControlDeleteItem
