how to "check" a entry in a statusiconmenu
pete at lcsql.com
Thu May 2 13:23:52 CDT 2013
I'm not familiar with the StatusIconMenu feature (is that an LC feature or
WIndows?) but I'd like to expand this thread to another aspect of
checkmarks and diamonds in option menu items if I may.
My experience on a Mac is that if you put a check mark against an option
menu item by inserting "!c" at the beginning of it, when that item is
selected from the option menu, the pitemname parameter to the menuPick
handler does not include the "!c". It is there in the text of the option
menu so the only way to find out if an item is checked or not is to use the
menuHistory setting to get the selected line from the text of the option
menu and see if it begins with "!c". Same applies to the "!n","!r","!u"
lcSQL Software <http://www.lcsql.com>
On Thu, May 2, 2013 at 3:45 AM, Matthias Rebbe <
matthias_livecode_150811 at m-r-d.de> wrote:
> for an app in Windows i am using the StatusIconMenu feature, which works
> really well.
> But i would like to place a checkmark or an icon before an entry in that
> Is this possible? Tried with the special character "!c" to get the entry
> displayed as checked. But that did not
> work. Maybe i am doing something wrong.
> Any idea?
> 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