The Delphi Bug List
Entry No.
560
VCL - Standard - Menus - TMainMenu
When OwnerDraw is set to True on a menu, the caption on an item may overwrite the shortcut text.
1.02
2.01
3.0
3.01
3.02
4.0
4.01
4.02
4.03
5.0
5.01
6.0
6.01
6.02
Kylix 1.0
N/A
N/A
N/A
N/A
N/A
Exists
Exists
Exists
Exists
Exists
Exists
Exists
Exists
Exists
N/A
Description
Reported by Jordan Russell; checked by Reinier Sterkenburg
To reproduce:
Create TMainMenu, and set OwnerDraw to True.
Create a "File" submenu on the menu, with a "New" item inside. Set the ShortCut property of the New item to Ctrl+N.
Run, and observe that "New" overwrites part of "Ctrl+N".
Latest update of this entry: 2002-02-28
Post a comment on this bug
Index page
Delphi Bug List home page
The Delphi Bug Lists are presently maintained by
Jordan Russell
, who has taken over this task from
Reinier Sterkenburg
since August 2000.
All feedback is appreciated. See also the
feedback
section of the Delphi Bug List home page.