Brian,
thanks for the hint. Works fine.
Unfortunately this isn't exactly what I wanted to achieve. But after reading
some of the
last articles I found the solution I was searching for: View class>>active.
I'm using the following code now:
| menu |
menu := Menu fromStrings: #( 'Traybar Icon' '&Help//help' '-'
'&About//about')
menu showIn: View active position: Cursor position
Udo
"bmurphy" <
[hidden email]> schrieb im Newsbeitrag
news:a14nlv$7gs$
[hidden email]...
> Try:
> ChoicePrompter choices: #('cat' 'dog' 'frog') caption: 'Please
choose'.
> "Display it"
>
> Brian Murphy-Dye
>
>
> "Udo Schneider" <
[hidden email]> wrote in message
> news:a1430d$oaqf0$
[hidden email]...
> > How can I display a popup menu without having an open shell/view?
> >
> > The idea was to display a menu for a traybar icon. Using DesktopView
> > as a view for the menu didn't work.
> >
> > Any hints?
> >
> > Udo
> >
> >
> >
>
>