Watch, Follow, &
Connect with Us
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 #:
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: :
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
3.50 out of 5
Total Votes: None
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:


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.
Set the accelerator by hand.


Set the accelerator by hand.


Server Response from: ETNACODE01