Devil GUI

Blitz3D Forums/Blitz3D Programming/Devil GUI

How do you get whether a checkbox is enabled or disabled?

Example:
	If GUI_Message(tWin\cbAnimate, "getchecked") Then 
		Animate(glob\char) 
	EndIf


tWin\cbAnimate is the handle to the checkbox.

Hi

if you defined a ChkHello do something like that:
state = Gui_Message(ChkHello,"getchecked")

for a CheckBox the messages are:
"setpos",x,y
"setenabled",True/False
"setchecked",True/False
"settext","Text"

and to retrieve the Values sended with the previous:
"getx"
"gety"
"getenabled"
"getchecked"
"gettext"

cheers

Juan