
Active Menu Control Variable
Is there any way to get the currently selected menu control as a VB
control object in the menu control's click event? Using the menu's form
ActiveControl method (e.g. Me.ActiveControl) returns Nothing. What I
would like to do is to do something like:
Dim thisMenuControl
Set thisMenuControl = Me.ActiveMenuControl
Call EnableControls(thisMenuControl)
where EnableControls is a generic procedure that would either allow
normal menu selection or do some kind of custom processing if the menu
item was not available.