Devil GUI

Blitz3D Forums/Blitz3D Programming/Devil GUI

Guy Fawkes(Posted 2009) [#1]
How do you get whether a checkbox is enabled or disabled?


Mahan(Posted 2009) [#2]
Example:
	If GUI_Message(tWin\cbAnimate, "getchecked") Then 
		Animate(glob\char) 
	EndIf


tWin\cbAnimate is the handle to the checkbox.


Charrua(Posted 2009) [#3]
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