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

[REBOL] Re: Iterated check box anomaly (resend)

From: brett:codeconscious at: 1-May-2002 10:45

> This is strange: the checkboxes appear to behave as if they were ONE, > if they were the SAME face visually but the branching upon their > individual logical state executes normally and fills the answer block > appropriately.
Yes, they are one. Visually they appear to be many, technically there is one that is moved/altered for the various visual positions. It is a bit like CRT Monitor scan lines vs the whole picture.
> Is there a way to overcome this in an iterated list or should I accept > that sometimes two clicks are needed to toggle the "visual" state of a
checkbox? Have a read of "Iterated Fields?? (an iterator intro and iter-field howto(-fakeit))" The comment in that Zine article is "...not all styles can be iterated. Fields, for instance, cannot be iterated, and this is a problem for somebody wanting to make a list of entry fields." Checkbox is an example of a style that cannot be iterated properly. However, the article demonstrates a way of faking the result. Also relevant is "Look ma, just one face!": Regards, Brett.