ListControlEnable

Help Contents GUI programming ListControls ListControlEnable
ListControlOnColClick RadioButtons

ListControlEnable alistcontrol state


Command. If state is true then it enables the ListControl alistcontrol, if state is false then it disables the ListControl.

state must be a boolean.

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]]
]
ListControlEnable lc false
;Click on the FloatControl again --nothing happens
ListControlEnable lc true	;enabled again

Reference:

ListControlOnColClick RadioButtons