pop menu on mouse right clic (1 Viewer)

moslem14

Registered User.
Local time
Yesterday, 18:54
Joined
Feb 11, 2013
Messages
11
hi all

please i need the way for making a popup menu on the right clic of the mouse inside a form

so when i pree right mouse button i will have my list with my commands

please help
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 02:54
Joined
Sep 12, 2006
Messages
15,755
with A2003 and earlier, you designed a standard menu, and then set it as a shortcut menu.

you can then assign the shortcut menu as a right-click menu to a form or control.

not sure how this is now done in A2007 and later, though.
 

moslem14

Registered User.
Local time
Yesterday, 18:54
Joined
Feb 11, 2013
Messages
11
yeah thats the problem because iam using acces 2010 and iam planing to get 2013 new release
i saw it in a lot of sample databases working 100% but i want to know the way
 

boblarson

Smeghead
Local time
Yesterday, 18:54
Joined
Jan 12, 2001
Messages
32,059
Are we saying that the attachment in this thread:-

http://www.access-programmers.co.uk/forums/showthread.php?t=202673

no longer works in 2007, 2010, 2013?

Chris.

I haven't tried your code out but I do know that, in 2007 at least, and I do believe it will work in 2010, the tried and true method of building the shortcut menu via two macros is still valid. One to have the commands and then other one to encapsulate that other macro using the AddMenu command. And then setting the Shortcut Menu property of the form, report, or control to the name of that 2nd macro.
 

ChrisO

Registered User.
Local time
Today, 11:54
Joined
Apr 30, 2003
Messages
3,202
Thanks Bob.

It would be nice to know if the code still works in versions after 2003.

I hope it’s not another one of those things where the latter versions are not backward compatible.

Chris.
 

Blackelise

aka Andrew
Local time
Today, 02:54
Joined
Jun 13, 2012
Messages
35
My digging around has found that these menus created in A2003 do work in A2007 on wards. However it seems that one can not longer use the same method in A7 onward. The solution that I came across says to use A2003 to create the menus and then import them into A2007+.

Whilst this may work it does not really answer the question of how to create these menus in A2007+. Personally I'm surprised that there is not a easy way to do these very useful pop up menus.

I am still looking...
 

boblarson

Smeghead
Local time
Yesterday, 18:54
Joined
Jan 12, 2001
Messages
32,059
You can create new menus in Access 2007 just as you could in 2003. 2010 may not be the same and I have not had opportunity to try yet. But I have created menus in Access 2007 the old way as I described earlier.
 

Users who are viewing this thread

Top Bottom