[REBOL] Re: Iterated check box anomaly (resend)
From: brett:codeconscious at: 1-May-2002 10:45
Hi,
> 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))"
http://www.rebolforces.com/zine/rzine-1-03.html#sect5.
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!":
http://www.rebolforces.com/zine/rzine-1-04.html#sect4.
Regards,
Brett.