Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Menu Designer    [ Add a report in this area ]  
Report #:  29047   Status: Closed
Starting a TMenuItem Caption with the letter T causes the Name property to omit the first letter
Project:  Delphi Build #:  10.0.2151.25345
Version:    10.0 Submitted By:   Tempus Software Development
Report Type:  Minor failure / Design problem Date Reported:  5/12/2006 6:47:26 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   240034
Resolution: Inactive (Resolution Comments) Resolved in Build: : 16.0.4133.38610
Duplicate of:  None
Voting and Rating
Overall Rating: (4 Total Ratings)
4.50 out of 5
Total Votes: None
Description
When adding a TMenuItem to a TPopupMenu or a TMainMenu and you set the caption to something like Tab Order, the TMenuItem caption name gets set to abOrder1 instead of TabOrder1.
Steps to Reproduce:
1. Create a new VCL Forms app with the Delphi for Win32 personality
2. Drop a TMainMenu on the form and double click it to open the menu designer
3. Enter "Tab Order" as the caption of a new menu item

exp: the Name property of the menu item should be "TabOrder1"
act: the Name property is "abOrder1"
Workarounds
Don't start a TMenuItem with a capital T or manually change the name after you've created the menu item.
Attachment
None
Comments

Roddy Pratt at 5/13/2006 3:28:34 PM -
Bizarre and reproducible with update #2, also!

Maybe something to do with VCL class naming conventions vs. class instance naming, so possibly 'as designed'...?


Roddy Pratt at 1/3/2007 9:50:56 AM -
NOT fixed in update #2, despite the "Closed" status.

Sebastian Modersohn at 1/3/2007 1:16:40 PM -
I entered new steps to emphasize the expected versus actual behaviour. Hopefully QA can reproduce now.

Server Response from: ETNACODE01