Help Contents / GUI programming / Buttons / ButtonEnable

ButtonEnable abutton state

if state is true then it enables the Button abutton, if state is false then it disables the Button. 

Example: 

	bfd=Button [][Go!][fd 100 updateGraph] 
	;Click on the Button - it goes 
	ButtonEnable bfd false 
	;Click on the Button again --nothing happens 
	ButtonEnable bfd true	;enabled again 


previous: ButtonOnClick
