get parameter from menubar control

R

Richard

Hi

How do we reference the tag or caption property of a menu bar control?

Now when a user clicks on the button, the onaction property calls a function
to open a form with customised open arguments.

What I want to do is when a user clicks on a menu bar control it will call a
function, get the tag / caption of the current button, and pass it on as an
parameter. This I hope to eliminate the need to write a function for every
button setup.

Can we do it or is there a better way?

Many thanks in advance
Richard
 
Top