Re: [MSEide-MSEgui-talk] twidgetgrid - how to hide standard popupmenu?

2016-11-24 Thread Martin Schreiber
On 11/24/2016 08:59 PM, Krzysztof wrote:
> 
> Thanks. I need to update popup items before it show, is tpopupmenu.OnUpdate
> for it? Because tpopupmenu.menu.onbeforeexecute is never fired
> 
Yes. onbeforeexecute is fired if the menu item has been clicked. If it
never is called it is a bug.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] twidgetgrid - how to hide standard popupmenu?

2016-11-24 Thread Krzysztof
2016-11-24 7:11 GMT+01:00 Martin Schreiber :

>
>
> On 23.11.2016 21:58, Krzysztof wrote:
> > Hi Martin,
> >
> > Assigned own tpopupmenu to the twidgetgrid and it appear below
> > standard popupmenu (Undo, Copy...). How to hide this standard menu and
> > show only my? Can't find it in optionswidget.
> >
> Please disable tcustomgrid.optionsgrid og_autopopup.
>

Thanks. I need to update popup items before it show, is tpopupmenu.OnUpdate
for it? Because tpopupmenu.menu.onbeforeexecute is never fired
--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] twidgetgrid - how to hide standard popupmenu?

2016-11-23 Thread Martin Schreiber


On 23.11.2016 21:58, Krzysztof wrote:
> Hi Martin,
>
> Assigned own tpopupmenu to the twidgetgrid and it appear below 
> standard popupmenu (Undo, Copy...). How to hide this standard menu and 
> show only my? Can't find it in optionswidget.
>
Please disable tcustomgrid.optionsgrid og_autopopup.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] twidgetgrid - how to hide standard popupmenu?

2016-11-23 Thread Krzysztof
Hi Martin,

Assigned own tpopupmenu to the twidgetgrid and it appear below standard
popupmenu (Undo, Copy...). How to hide this standard menu and show only my?
Can't find it in optionswidget.

Regards
--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk