List to checkboxes how to?
Stephen Barncard
stephenREVOLUTION2 at barncard.com
Sat Sep 13 13:00:15 EDT 2008
Does this method work faster than using a background?
>
>Whenever you want to set the state of the checkbox, do this:
>
> set the imagesource of char 1 of line <line number> of fld "list" to <imgID>
>
>The "imgID" variable is the ID of the correct image, "checked" or
>"unchecked". Your scripts can determine whether the line is checked
>or not by simply reading the imagesource of the first character of
>the line, which will be the ID of the appropriate image.
>
>
>--
>Jacqueline Landman Gay | jacque at hyperactivesw.com
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list