Recent

Author Topic: [Solved] Hints of pulldown submenu's are not working in Windows but in Linux.  (Read 2550 times)

han

  • Jr. Member
  • **
  • Posts: 65
I'm working on my well tested code in Lazarus converted some time ago from Delphi.  I noted that submenu hints of the mainmenu1 and popup menus are not working in the Windows version. Compiled for Linux it works and also in Delphi, so something is not working in the Windows version using the same code.

Attached a screenshot and sample program. The hint of the submenu blue highlighted in the screenshot is missing. Anybody an idea why and how to fix?. Submenu hints work in the Linux version and Delphi but not in Lazarus for Windows.

Maybe handle the WM_MENUSELECT Windows message could fix it but that is no good solution.

Later, after more testing, I noticed the hints of the submenus are mixup up. Hints of normal mainmenu items are working. Wrong hints of other menu items are reported See attached test program. I will report this as a bug.
https://bugs.freepascal.org/view.php?id=33070

« Last Edit: January 25, 2018, 11:59:47 am by han »

ASerge

  • Hero Member
  • *****
  • Posts: 1868
Test with added patch.

han

  • Jr. Member
  • **
  • Posts: 65
Test with added patch.
I like to,  but which path? Where can I download it?

ASerge

  • Hero Member
  • *****
  • Posts: 1868

han

  • Jr. Member
  • **
  • Posts: 65
The patch solves it. Thanks!!

 

TinyPortal © 2005-2018