Dim oControl As Control
For Each oControl In Me.Controls
    If TypeOf oControl Is Menu Then
        oControl.Visible = False
        oControl.Enabled = False
    End If
Next
 
Greets.
 
Genaro Sanchez


De: Olga Kurniasari [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 27 de Diciembre de 2004 10:54 p.m.
Para: [EMAIL PROTECTED]
Asunto: 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