PLEASE HELP: Bug when changing menu caption at runtime
I seem to have run into a bug...if at runtime I change the caption property of a menu with a shortcut key assigned, the shortcut key name is drawn on top of the menu caption; e.g.
if I set the Caption to "Cannot Undo" and the shortcut key was Ctrl+Z I get "Ctrl+Zot Undo". I am setting the caption in the click event of the top level menu (e.g. I am setting captions for "Undo" and "Redo" menu items in the "Edit" menu's click event.
Has anyone else seen this? Does anyone know of a workaround? I have searched the Microsoft Knowledge Base to no avail.
Re: PLEASE HELP: Bug when changing menu caption at runtime
Re: PLEASE HELP: Bug when changing menu caption at runtime
2. This code seems to work perfectly, in case still any further problem arises please send us ur forms, which version of visual basic, and also tell us what are all the service packs of visual basic u have installed on ur system
Private Sub mnuedit_Click()
mnuundo.Caption = "Cannot Undo"
End Sub
please get back to [email protected] or [email protected] for further clarifications
The Ultimate Solution Providers
Authors
Sriman & Jayaraman
Email : [email protected]
[email protected]
Hand Phone : +(6) 016 2237147