ListControlOnChar

Help Contents GUI programming ListControls ListControlOnChar
ListControlSetFontWeight ListControlOnKeyDown

ListControlOnChar alistcontrol commands


Command to set the custom event handler for the char event of the ListControl alistcontrol to commands. See also OnChar!

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]]]
ListControlOnChar lc [pr KeyboardValue]

Reference:

ListControlSetFontWeight ListControlOnKeyDown