[REBOL] Re: Checkbox state is not changing
From: petr:krenzelok:trz:cz at: 5-Sep-2001 12:00
Carl Read wrote:
> On 05-Sep-01, Anton wrote:
> >>>> view layout [ c: check [probe c/state]]
> >>> try c/data
> >> Quite inconsistent (... as so many aspects of VID ...) - toggles
> >> work with /state - but it works.
> > Not really.
> > I think state is whether gadget is "depressed"
> > or not.
> Ahah! Now that actually makes sense. (Nearly.:) I'd thought it
> should be state and not data too, but I guess a check button also has
> an in and out state as well as a checked and un-checked one, so this
> is consistant. But data? Adding a 'checked? word would've been
> clearer I think.
probably yes, but it is consistent imo too, if you look at the "data" in
a "type" manner - what does it hold? Can it hold integer, text? No - it
holds true, or false - it is only data it can contain, in opposite to