Active Menu Control Variable 
Author Message
 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.



Mon, 22 Mar 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Menus on Active X controls how?

2. MS Active X control downloads OK but home grown Active X Control will not download

3. MS Active X control downloads OK but home grown Active X Control will not download

4. Dereferencing a variable and Control Menu on Icon

5. passing a menu control array variable...

6. Sharing one instance of a TCP Active X Ctrl among multiple Active X data controls

7. Active/Inactive toolbar buttons/menu commands

8. MsgBox (?) to display all active variables

9. Two Questions - Making a userform active / Accessing a userform via a variable

10. Active Menu v 1.1

11. Active Menu v 1.1

12. Active Menu v 1.1

 

 
Powered by phpBB® Forum Software