Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
JBuilder
Designers
Bean Designer
Column Designer
Component Palette
Inspector
Lightweight Toolkit
Menu Designer
Property Editors - Database
Property Editors - Non-Database
Structure Pane
UI Designer
You are not logged in.
Help
Print
Public Report
Report From:
JBuilder/Designers/Menu Designer
[ Add a report in this area ]
Report #:
4093
Status:
Closed
Setting a menu Accelerator generates invalid code
Project:
JBuilder
Build #:
8.0.140.0
Version:
11
Submitted By:
Sean Behiel
Report Type:
Basic functionality failure
Date Reported:
4/11/2003 12:13:29 PM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
169409
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
011.000.236.000
Duplicate of:
None
Voting and Rating
Overall Rating:
(2 Total Ratings)
3.50 out of 5
Total Votes:
None
Description
When using the Designer, if you attempt to set an accelerator for a menu item, you get the following line of code generated in the source no matter what you select as an accelerator:
menuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke('\uFFFF'));
After closing the Accelerator dialog, the Inspector will show the accelerator you chose. If you switch to the source code, you will see the line shown above. Switching back to the designer will give you the message Unknown Keycode: 0x0 typed in the accelerator cell of the Inspector.
QC Entry 4093
[FT1 Ludovic HOCHET]
Steps to Reproduce:
Create a new project.
Create a new application in the project with a menu bar.
Switch to the Design tab of the Frame and Open the menu editor.
Select a menu item and assign it an accelerator.
Switch back to the Source code, the incorrect line will be displayed there.
Change the code in some way (to force the designer to reparser the code)
Switch back to the Design tab, the Unknown Keycode message should be displayed.
Workarounds
Set the accelerator by hand.
---------
Set the accelerator by hand.
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us