Page 1 of 1

TGet on TMenu

Posted: Thu Feb 05, 2026 11:04 am
by Natter

Hi,

Is it possible to specify TGet as one of the PopUp Menu items (i.e. make the menu item the owner of Get)?


Re: TGet on TMenu

Posted: Thu Feb 05, 2026 11:15 pm
by cnavarro
Natter wrote: Thu Feb 05, 2026 11:04 am

Hi,

Is it possible to specify TGet as one of the PopUp Menu items (i.e. make the menu item the owner of Get)?

I've never tried it, but I think it will be difficult because of the event itself: when you click elsewhere and the menu loses focus, it disappears. But I'll try it and let you know if it's possible.


Re: TGet on TMenu

Posted: Fri Feb 06, 2026 10:08 am
by Natter

Thanks for the answer! I need a drop-down list with the ability to enter my own value. In this case, a Combobox is quite suitable. However, it involves linking to a dialog, and I need to show this list on top of the map.


Re: TGet on TMenu

Posted: Fri Feb 06, 2026 10:46 am
by Natter

I made a NOWAIT window and put a Combobox on it. It's not very pretty (unlike the menu), but it works.


Re: TGet on TMenu

Posted: Sat Feb 07, 2026 8:32 am
by Natter

I think to enable GET in the menu, need to edit the method :Activate (change the oMenu:oWnd parameters in it and insert Get)