Setting to null will not actually turn it off, you will need to set an
actual handler. It happens to be that setting a handler on either
On_Context_Menu or On_Mouse_Right_Click will in either case disable the
menu.
David Botton
On Mon, Dec 29, 2014 at 1:51 PM, Pascal <[email protected]> wrote:
> Hello Jeff,
>
> I tried this with no more success:
> Graph_View.On_Context_Menu_Handler (null);
> In fact I want to disable the contextual menu without giving a procedure
> handler.
> May be not possible...
>
> Regards, Pascal.
> http://blady.pagesperso-orange.fr
>
>
> Le 29 déc. 2014 à 19:13, Jeffrey R. Carter <[email protected]> a écrit :
>
> > On 12/29/2014 10:56 AM, Pascal wrote:
> >>
> >> I rely on the button flags in Mouse_Event_Record to determine which
> button
> >> is pressed but for the right button while I get the event the default
> browser
> >> contextual menu is also displayed.
> >>
> >> I tried this with no success:
> >> Graph_View.On_Mouse_Right_Click_Handler (null);
> >>
> >> How to set no display of the contextual menu without to give a handler?
> >
> > Have you tried setting On_Context_Menu_Handler? I used that in
> Mine_Detector and
> > it suppresses the context menu.
> >
> > --
> > Jeff Carter
> > "Crucifixion's a doddle."
> > Monty Python's Life of Brian
> > 82
> >
> >
> ------------------------------------------------------------------------------
> > Dive into the World of Parallel Programming! The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net
> > _______________________________________________
> > Gnoga-list mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list