Context menu on a flexgrid control

G

Guest

Hello,

I'm using a msflexgrid control for collecting unbound data.

I would like to be able to right click on a row and show a context menu i.e.
Edit, Delete...

I can manage to understand how to use the flexgrid to determine the the
click evant and row position, but cannot understand how to create and call
the context menu using Access.

Any ideas?
 
G

Guest

Look in help for Shortcut Menu. You can create menus and assign them to
different db objects and views.

HTH,
Barry
 
G

Guest

Hello,

I can create a shortcut menu within Access, but do not understand how to
attach it to the object from code, how do I call the shortcut menu from code?
 
G

Guest

I understand the mouse down event from the flexgrid, but don't understand how
to reference the shortcut menu from code.
 
G

Guest

If Button = 2 Then
CommandBars("Form View Popup").ShowPopup ' or whichever menu
you're using.
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top