|
-
August 11th, 1999, 10:28 AM
#1
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.
-
August 17th, 1999, 07:52 PM
#2
Re: PLEASE HELP: Bug when changing menu caption at runtime
-
August 17th, 1999, 09:46 PM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|