[REBOL] Re: Checkbox state is not changing
From: arolls:bigpond:au at: 5-Sep-2001 12:30
> >> 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.
I think state is whether gadget is "depressed"
or not. The check cannot be pushed down in
current implementation, therefore its state
should not change.
view layout [b: button [probe b/state]]
It's always true, because:
- first you press button, state becomes true (button looks depressed).
- you let go of button, action occurs.
- then state becomes false (button looks normal/ready again).
Perhaps in future, check will react like button and change
visual state when user clicks on it.