TGet on TMenu

Post Reply
Natter
Posts: 1402
Joined: Mon May 14, 2007 9:49 am

TGet on TMenu

Post 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)?

User avatar
cnavarro
Posts: 6763
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TGet on TMenu

Post 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.

Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Natter
Posts: 1402
Joined: Mon May 14, 2007 9:49 am

Re: TGet on TMenu

Post 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.

Natter
Posts: 1402
Joined: Mon May 14, 2007 9:49 am

Re: TGet on TMenu

Post by Natter »

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

Natter
Posts: 1402
Joined: Mon May 14, 2007 9:49 am

Re: TGet on TMenu

Post 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)

Post Reply