* * *

Author Topic: Hide the Mainmenu in a Form  (Read 683 times)

jc99

  • Hero Member
  • *****
  • Posts: 516
    • My private Site
Hide the Mainmenu in a Form
« on: April 22, 2017, 09:25:43 pm »
Hi everybody,

I try to Implement something like a CoolMenu from Delphi,
(Meaning to put the Menu-Bar in a CoolBar -Band)

To make the band is no problem, but then i need to hide the original Menu.
TMainMenu has no visible-property and no hide-method.

Please help.
« Last Edit: April 22, 2017, 09:27:28 pm by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

wp

  • Hero Member
  • *****
  • Posts: 3727
Re: Hide the Mainmenu in a Form
« Reply #1 on: April 22, 2017, 10:13:30 pm »
Just remove it from the property Menu of the Form.
Lazarus trunk / fpc 3.0.0 / Win32

jc99

  • Hero Member
  • *****
  • Posts: 516
    • My private Site
[SOLVED] Hide the Mainmenu in a Form
« Reply #2 on: April 23, 2017, 02:13:37 pm »
Thanks it helped.

My Approach works for simple Menus without Keyboard-support jet.
Before I get much deeper into the matter, has anyone implemented something like a TCoolMenu-Component for Lazarus ?
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus