menu events

J

Jason

Hello,

I was wondering how i could trigger a event if one chooses an item in a
customized menu.

For example, i have a menuitem called mailings. In that menuitem there are 3
subitems to choose from. The items are text based.

What i want is when one chooses an item a form should open. The form is a
generic form for different recordsources. The listboxes and comboboxes
changes dynamically based on the choosen menuitem.

Can someone tell me how to do that?
 
A

Alex Dybenko

Hi,
you can call a public function or macro from your menu item, and in function
you can detect what form and control is active using sreen.activeform and
screen.activecontrol and do appropriate action
 
Top