Help Contents / GUI programming / ListControls / ListControlGetColumn

ListControlGetColumn alistcontrol col data

outputs the column at col of the ListControl alistcontrol. 

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

Output is a list of items (words) 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]]] 
	show ListControlGetColumn lc 1 


previous: ListControlGetRow	next: ListControlGet
