[REBOL] Re: check box setting
From: philb:upnaway at: 29-Jun-2001 0:36
You will need to assign your check (box) a variable name .. for example
view layout [cb: check yes button "State?" [print cb/data] ]
If you dont want it enabled then you could use a different type of field an LED perhaps?
-- Original Message --
Guys, how do I set the value of a check box? Is there a doc that covers
this issue..? I have an example below I would like to use....if
function/text isn't equal to "HR" then then an alert will be generated and
the checkbox returned to an unchecked status.
Ideally I would like the checkbox to not even be "selectable" or even
visable unless function/text = "HR" however, I have not been able to work
out how to do this either :)
udc: label right 95x24 "UDC" check
[if function/text <> "HR"
[alert "Not valid for this device"
set udc/????? ????]
Any help appreciated