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

[REBOL] Re: Checkbox state is not changing

From: carl:cybercraft at: 6-Sep-2001 9:04

On 06-Sep-01, Ammon Cooke wrote:
> no! not more states, adding a checked only makes things complicated. > Oneof the beauties, & I say one of the greatest beauties of rebol is > that everything has a format, a particular layout. They all follow > the same pattern. Basically all objects have the same properties, > you don't have to guess, & you don't need a spec sheet on every > object, just one explaning where to find what kind of info.
With VID, you do need a spec sheet. With text-list for instance, data's not enough. There's picked and other words you need to know about. This is mainly a docs problem though. Currently you have to guess that "Data: Used by VID for storing other information about the face. Outside of VID this field can be freely used by programs." means, in relation to check, where its checked state is stored. Let's hope that View book is out soon...
> My 2 > Ammon > ----- Original Message ----- > From: "Carl Read" <[carl--cybercraft--co--nz]> > To: <[rebol-list--rebol--com]> > Sent: Wednesday, September 05, 2001 2:23 AM > Subject: [REBOL] Re: Checkbox state is not changing >> 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. >> -- >> Carl Read > _________________________________________________________ > Do You Yahoo!? > Get your free address at
-- Carl Read