Double OnClick Event on RadioButton-Menu
- Lazarus/FPC Version: Lazarus 2.2.0 (rev Unknown) FPC 3.2.2 x86_64-linux-gtk2
- Operating System: ArchLinux
- CPU / Bitness: 64
What happens
the OnClick-Event is created 2x when clicking/changing an entry of a RadioButton-Menu
What did you expect
Just one event to be fired
Steps to reproduce
- Create a submenu in the MainMenu; create e.g. 4 entries which have the RadioItem-Flag set (additional I have set a tag "1","2","3","4" for the buttons resp.).
- The OnClick-Event is bound to a simple procedure, which logs a message (e.g. which button was clicked).
- I have used one procedure, which was bound to each of the buttons and determines the button by looking at the tag.
- When running the program and changing/clicking at one of the Menu-Entries I see the created log message twice