There are only two places in which you can enable menus --
EnableMenuItems event handlers of classes that have them, and the
EnableMenu event handler of the MenuItem class. Move your code to
one of these locations.
Charles Yeomans
On Apr 26, 2006, at 10:47 PM, Brian Heibert wrote:
Hi,
I got a edit field with a Format menu
in the format menu I have a font sub menu and a Style menu
I put this in the GotFocus event of the edit field
FormatFont.enabled=true
FormatStyle.enabled=true
StyleBold.enabled=true
StyleItalic.enabled=true
StyleUnderline.enabled=true
and this in the lostFocus event of the edit field
FormatFont.enabled=false
FormatStyle.enabled=false
StyleBold.enabled=false
StyleItalic.enabled=false
StyleUnderline.enabled=false
End Sub
Yet the Style menu is always disabled
I am confused
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>