Recent

Author Topic: MainMenu control problem  (Read 940 times)

dajashby

  • New member
  • *
  • Posts: 9
MainMenu control problem
« on: July 02, 2023, 02:21:54 pm »
I have just installed Lazarus on my M1 Mac mini running macOS Ventura. I began creating a project and the first thing I did was add a Mainmenu control to a form. When I ran the project the menu didn't appear. I tried adding a button, and that worked. Is there a problem with the Mainmenu control, or is there something I'm not doing? I currently use Delphi on my Mac Studio via Parallels.

Derrick

Well duh! The main menu appears at the top of the screen, where you would expect a Mac app's menu to appear  :(

My sole excuse is that this is the first Mac app I've ever b begun developing.
« Last Edit: July 03, 2023, 04:19:31 am by dajashby »

jamie

  • Hero Member
  • *****
  • Posts: 7488
Re: MainMenu control problem
« Reply #1 on: July 02, 2023, 03:48:05 pm »
What exactly are you saying?

Do you mean if you add a Menutiem it then works, meaning it appears?

Or the it just doesn't appear regardless at runtime?
The only true wisdom is knowing you know nothing

domasz

  • Hero Member
  • *****
  • Posts: 615
Re: MainMenu control problem
« Reply #2 on: July 02, 2023, 07:38:16 pm »
Did you add any options to menu? Double click and add

dajashby

  • New member
  • *
  • Posts: 9
Re: MainMenu control problem
« Reply #3 on: July 03, 2023, 04:16:57 am »
I have just installed Lazarus on my M1 Mac mini running macOS Ventura. I began creating a project and the first thing I did was add a Mainmenu control to a form. When I ran the project the menu didn't appear. I tried adding a button, and that worked. Is there a problem with the Mainmenu control, or is there something I'm not doing? I currently use Delphi on my Mac Studio via Parallels.

Derrick

Well, duh! The menu appears at the top of the screen where you would expect a Mac app's main menu to appear. Thanks all for resisting the urge to point this out! :( My only excuse is that this is the first Mac app I've ever started developing. :)

 

TinyPortal © 2005-2018