Code: Select all
predicates
onMenuItem : window::menuItemListener.
clauses
onMenuItem( Source, resourceIdentifiers::id_chart_modify_properties ):-
Chart = chart::getChart( class_name() ),
_ = chartPropertyEditor::display( Source, Chart ),
!.
onMenuItem(_,_).
The submenu drops down normally on a mouse click, but it doesn't drop down when accessing the menu using the Alt-<somekey> or the assigned Accelerator key.
When I test the Form's menu in the IDE editor, the Alt-<somekey> causes the the submenu to show as expected.
Do I need to write custom code to handle the accelerators for form menus?