Sub DisableMenus

      Dim aControl As Control

 

      For Each aControl In Form1.Controls

            If TypeOf aControl Is Menu Then aControl.Visible = False

      Next aControl

      Set aControl = Nothing

End Sub

 

-----Original Message-----
From: Olga Kurniasari [mailto:[EMAIL PROTECTED]
Sent:
Monday, December 27, 2004 10:54 PM
To: [EMAIL PROTECTED]
Subject: PSC VB6 Menu Editor

 

Hi All,

 

Is there a way to manipulate Menu controls in the VB 6 Menu Editor ?

I need to make the visible properties from ALL menu controls in the Menu Editor is False, but I want to do it at runtime.

Is it possible..??

 

Thanks,

Olga



To unsubscribe, send an email to:
[EMAIL PROTECTED]







To unsubscribe, send an email to:
[EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to