Recent

Author Topic: Separator in TMainmenu  (Read 13295 times)

Reenen

  • New Member
  • *
  • Posts: 29
    • http://daringapprentice.wikispaces.com
Separator in TMainmenu
« on: April 26, 2005, 03:48:16 pm »
How do I create a line in the mainmenu?

In Delphi/Kylix you just make
 caption := '-';

-Reenen

matthijs

  • Hero Member
  • *****
  • Posts: 537
Separator in TMainmenu
« Reply #1 on: April 26, 2005, 04:07:53 pm »
It works the same in Lazarus. You will not see it in the Menu editor but you will see it during runtime.
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

Roman

  • New Member
  • *
  • Posts: 21
Re: Separator in TMainmenu
« Reply #2 on: June 30, 2022, 08:38:32 am »
The menu separator line is invisible in Linux Mint (32-bit). Can I change the color of the line?

MarkMLl

  • Hero Member
  • *****
  • Posts: 5151
Re: Separator in TMainmenu
« Reply #3 on: June 30, 2022, 09:13:11 am »
The menu separator line is invisible in Linux Mint (32-bit). Can I change the color of the line?

Start a new topic rather than appending to an old one which is only marginally related. make sure you specify the version of Lazarus and Mint, and also what window manager etc. Mint uses: it's not reasonable to expect everybody to be familiar with it.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Roman

  • New Member
  • *
  • Posts: 21
Re: Separator in TMainmenu
« Reply #4 on: June 30, 2022, 09:32:51 am »
Thank you for the warning, I'll do so next time.
Lazarus is version 2.2.2 with FPC 3.2.2. System is LinuxMint 19.1 (tessa), GNOME 3.28.2 (Ubuntu), Kernel 4.15.0-188-generic (#199-Ubuntu SMP Wed Jun 15 20:42:32 UTC 2022). I hope, that will suffice.
I expected that line color is somewhere user definable.

MarkMLl

  • Hero Member
  • *****
  • Posts: 5151
Re: Separator in TMainmenu
« Reply #5 on: June 30, 2022, 10:01:41 am »
Thank you for the warning, I'll do so next time.
Lazarus is version 2.2.2 with FPC 3.2.2. System is LinuxMint 19.1 (tessa), GNOME 3.28.2 (Ubuntu), Kernel 4.15.0-188-generic (#199-Ubuntu SMP Wed Jun 15 20:42:32 UTC 2022). I hope, that will suffice.
I expected that line color is somewhere user definable.

That's a distro issue. System-level founts, colours etc. are part of the widget set, which I presume is GTK unless you've built the IDE for e.g. Qt.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018