Wish OnAction callback for Menu

stevel05

Expert
Licensed User
Longtime User
Erel,

Could you add an onaction callback to the Menu object? I would like to create an item on the menu with no dropdown, for an about item for instance.
 

stevel05

Expert
Licensed User
Longtime User
After a little investigation, although Menu does inherit onAction from javafx.scene.control.MenuItem, it is not possible to use it. There is a work around by adding a label to the Menu node. If I can get it working elegantly I'll post the solution.
 
Top