Checkmark for Mac & Windows
bobsneidar at iotecdigital.com
Mon Mar 26 17:07:18 CEST 2018
What he said. I have a bullet image I use for list fields if what I am doing is too simple for a datagrid. Sometimes a list is just a list.
> On Mar 23, 2018, at 19:15 , Brian Milby via use-livecode <use-livecode at lists.runrev.com> wrote:
> Check out "imagesource" - it may be what you need. You can do something
> *set* the imageSource of char 1 of line 1 of fld "Test" of this cd to 878
> Which is a "+" sign, but you can use your own images. modTableField uses
> this strategy and has icons for the checked and unchecked state. You could
> track state with a particular character in that position if needed.
> On Fri, Mar 23, 2018 at 8:22 PM, Knapp Martin via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>> I generate lists on the fly with the first item of each line set with a
>> checkmark. After I construct the list under script, I just insert it into a
>> standard LC table field. The user can then toggle the checkmark of each
>> line off or on with a click (a script in the field takes care of that).
>> On Mac it's just a matter of using the checkmark character (option-v)
>> which I can type right into a script. But on Windows it does not display. I
>> don't want to rely on a specific font in case the user does not have that
>> installed. Is there really not an *simple* way to do this so that it works
>> on both Mac and Windows? I’m redoing a currently Mac-only app so I can
>> release for Windows too and don’t really want to re-work all this if
>> there’s a simple solution that I’m missing.
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode