Hi,

I'm writing about the TMainMenu component for the lazarus book,
and I ran into some strange things and bugs.

1. The shortcut keys for menus don't work. If I have a menu &File,
   I expect the Alt-F key combination to activate the file menu, 
   as in windows. It does not.

2. The underlined letter in submenus don't work. In Delphi, pressing
   the underlined letter activates the menu. for a menu &File - &New,
   pressing Alt-F, N will activate the &New menu item.

3. I have a menu with a list of radio button menus, say item 1 - item 3.
   (all with GroupIndex=1, RadioItem=True, Autocheck=False)
 
   When Item 1 is checked, and I click item 2, then I get first an onclick
   event for item 1 and then an onclick event for item 2.

   This is very counter-intuitive, different from Delphi behaviour, and IMHO
   plain wrong, since I only clicked item 2, so I don't expect to get an event
   for item 1...

4. Again for radio button menus:
   In Lazarus, the check mark is set or moved automatically, regardless of 
AutoCheck.
   In Delphi, it is not set unless AutoCheck is set to true. 

   While I think there is nothing wrong with the Lazarus behaviour an sich,
   it is different from Delphi and therefore incompatible.

I tested all this with today's SVN, linux, GTK2, 64-bit.

Should I file bugreports for all 4 items ?

Michael.

_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to