"Ray" <not@needed.com> wrote in message
news:%23fH7DSFgEHA.592@TK2MSFTNGP11.phx.gbl...
> Hi Mick,
> I found that option and it does position the menu exactly where I want it
> but it takes a lot of control away from me.
> For example I want to test the contents of a cell in a grid before
deciding
> what menu items are enabled. This should be done in the mouseup event but
> the menu is shown before the mouse up event is fired.
> A second problem is that if I right click on the grid the menu appears
> before the new cell is selected!
> So ideally I should be easily able to say when the menu appears in code me
> thinks!
>
> Ray.
>
>
> "Mick Doherty"
> <EXCHANGE#WITH@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote
in
> message news:O$h9i%23EgEHA.3944@tk2msftngp13.phx.gbl...
> > Set the forms/controls contextmenu property.
> >
> > --
> > Mick Doherty
> >
http://dotnetrix.co.uk/nothing.html > >
> >
> > "Ray" <not@needed.com> wrote in message
> > news:ecan9A$fEHA.1984@TK2MSFTNGP10.phx.gbl...
> > > Hello,
> > > I want to right click on my form or control and have a context menu
> appear
> > > right next to the mouse instead of some silly relation to the 0,0 of
the
> > > screen.
> > >
> > > Can somebody please tell me the normal way to do this.
> > >
> > > Ray.
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (
http://www.grisoft.com).
> > Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004
> >
> >
>
>
Outgoing mail is certified Virus Free.
).