Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: check box setting

From: philb:upnaway at: 29-Jun-2001 0:36

Hi Francios, 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? Cheers Phil -- 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/????? ????] return ] Any help appreciated Francois