Recent

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

jc99

  • Hero Member
  • *****
  • Posts: 553
    • 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.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

wp

  • Hero Member
  • *****
  • Posts: 11855
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.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • 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.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

 

TinyPortal © 2005-2018