Ticked lines in a popup menu from list

Mischa mischa at omnislab.com
Fri Dec 5 15:32:06 EST 2014

Hi Bas,

unfortunately not, same with having icons or hierarchy menus. So what I'm
doing is sending the list to a popup menu class and use Popup menu
myPopupMenuClass. This approach has some gotchas but once mastered it works
nice. In general, the trick is to install the menu invisible in the main
menu bar first and then popup it in your window instance:

Install menu mPopup (iPopupList,$cinst)     ;; to pass parms, we need to
install the menu, $cinst is used for return address
Popup menu mPopup     ;; Popup menu uses instance of the same name, so parms
are still there
Remove menu mPopup

To install the menu invisible, set its name to chr(160)

Best greetings

  T H E   O M N I S   L /\ B     www.omnislab.com

-----Ursprüngliche Nachricht-----
Von: omnisdev-en-bounces at lists.omnis-dev.com
[mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag von Bastiaan
Gesendet: Freitag, 05. Dezember 2014 04:31
An: OmnisList
Betreff: Ticked lines in a popup menu from list

Hi All,

Is there a way to tick menu lines using a popup menu from list just like
you can with a normal menu and $checked?


Manage your list subscriptions at http://lists.omnis-dev.com

More information about the omnisdev-en mailing list