Help Contents / GUI programming / ListControls / ListControlOnItemActivated

ListControlOnItemActivated alistcontrol commands

Command to set the custom event handler for the LIST_ITEM_ACTIVATED event (ENTER or double-click) of the ListControl alistcontrol to commands. 

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]] 
	] 
	ListControlOnItemActivated lc [ 
			(pr word [row=] ListControlRow 
				word [column=] ListControlColumn 
				ListControlText 
				[Activated]) 
		] 


previous: ListControlOnItemSelected	next: ListControlOnColClick
