Help Contents / GUI programming / ListBoxes / ListBoxEnable

ListBoxEnable alistbox state

Command. If state is true then it enables the ListBox alistbox, if state is false then it disables the ListBox. 

state must be a boolean. 

Example: 

	lb=ListBox [][LB] [[The first String][S2][S3]] [][] 
	ListBoxEnable lb false 
	;Click on the ListBox again --nothing happens 
	ListBoxEnable lb true	;enabled again 


previous: ListBoxOnDClick
