[AccessD] A2010: Create custom popup menu to run custom function

Charlotte Foust charlotte.foust at gmail.com
Fri Aug 17 08:46:35 CDT 2012


Really?  I haven't found a way to create popup menus in 2007+.  Only way I
know to do it is create it in an earlier version and then convert to the
later version, where it becomes an add-in.

Charlotte

On Fri, Aug 17, 2012 at 2:08 AM, Gustav Brock <gustav at cactus.dk> wrote:

> Hi Charlotte
>
> No, unfortunately not, that link is about the ribbon.
> My popup menu will be completely separated from that.
>
> /gustav
>
>
> >>> charlotte.foust at gmail.com 17-08-12 5:28 >>>
> I haven't done it in years in Access.   Does this help?
>
> http://www.accessribbon.de/en/index.php?FAQ:9
>
>
>
> Popup menus seemed to have devolved into context sensitive ribbons, which
> aren't the same thing at all.
>
> Charlotte
>
> On Thu, Aug 16, 2012 at 10:19 AM, Gustav Brock <gustav at cactus.dk> wrote:
>
> > Hi all
> >
> > So this would be one of the tough questions at a job interview?
> >
> > Has no one created a popup-menu?
> >
> > /gustav
> >
> >
> > >>> gustav at cactus.dk 15-08-12 18:23 >>>
> > Hi all
> >
> > I need some help with this.
> >
> > I've found out that you need a reference to the Office Object Library and
> > then create a "commandbar" to achieve this, but the code examples I can
> > locate just adds standard Access/Office commands to the menu using
> "secret"
> > values.
> >
> > My popup should be displayed when right-clicking the form outside the
> > controls.
> > It should contain a few menu entries, say:
> >
> >   Create New
> >   Reset
> >
> > When clicking one of these, a function of mine should be called, like:
> >
> >   CreateNewOrder()
> >   ClearOrder()
> >
> > No fancy icons or the like is needed.
> >
> > I've managed to create a shortcutmenu (macro) but, when I right-click, no
> > menu is shown - the macro is executed right away.
> >
> > /gustav
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
>
>
> Website: http://www.databaseadvisors.com
>
>
>


More information about the AccessD mailing list