Changing Shortcut Menu options

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is it possible to change the Shortcut Menu options for a list box, depending
on what is being displayed in the list box?

e.g.

Shortcut Menu looks a bit like this:

Copy
Update Status > *** Options to be changed on this sub menu ***
Move to Queue > *** Options to be changed on this sub menu also ***

Cheers,
Steve.
 
Hi,
yes, you can use MouseUp event instead of Shortcut Menu property. first
check there that right button was clicked, then get a listbox value, and
depends on it show corresponding menu as:

commandbars("mymenu").showpopup

HTH
 
Thanks for the reply Alex but what I want to do is change the properties of
the Items on the menu. The items shown in the List box depend on what is
selected in a Combo Box (Work Queues). Different Status' can be applied to
the items shown depending on the queue.

e.g.

Queue displayed = Invoice
Shortcut Menu Name = MPR_Queue_Menu

Menu items should be:

Copy
Update Status > Invoice Complete
Query
Pending

Queue displayed = Reads
Shortcut Menu Name = MPR_Queue_Menu

Menu items should be:

Copy
Update Status > Read Input
Read Already Input
Query
Pending


I need to be able to add and remove options as necessary and pass the
selection to a Module to process the selection accordingly.

I hope this makes sense?

Cheers,
Steve.
 
Hi,
the idea is the same. just after you get listbox value - then you can hide
some items on same commandbar, using visible property
 
Back
Top