Recent

Author Topic: [solved - partial] Delphi popupmenu '-' as divider; anything similar for FP?  (Read 7992 times)

AlistairG

  • Jr. Member
  • **
  • Posts: 70
Hi I need a divider between menuitems and clipboard items with delphi its easy define the caption as '-' and you get a divider. Any suggestions?
« Last Edit: March 11, 2011, 07:29:50 am by Alistair George/Laz 2.4 »
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Delphi popupmenu '-' as divider; anything similar for FP?
« Reply #1 on: March 10, 2011, 05:40:16 am »
Do the same on Lazarus.

AlistairG

  • Jr. Member
  • **
  • Posts: 70
Re: Delphi popupmenu '-' as divider; anything similar for FP?
« Reply #2 on: March 10, 2011, 06:23:00 am »
Hi Typo, on other thread you answered 'yes' which I thought meant it did not work.
Anyway, if I make caption - in menu editor and run it shows exactly the '-', not a divider.
Talking Ubuntu/GTK2
Al.
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

BlueIcaro

  • Hero Member
  • *****
  • Posts: 834
    • Blog personal
Re: Delphi popupmenu '-' as divider; anything similar for FP?
« Reply #3 on: March 10, 2011, 12:15:21 pm »
Which release of lazarus do you use?

/blueIcaro

AlistairG

  • Jr. Member
  • **
  • Posts: 70
Re: Delphi popupmenu '-' as divider; anything similar for FP?
« Reply #4 on: March 10, 2011, 12:31:44 pm »
Which release of lazarus do you use?

/blueIcaro

Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

AlistairG

  • Jr. Member
  • **
  • Posts: 70
Re: Delphi popupmenu '-' as divider; anything similar for FP?
« Reply #5 on: March 11, 2011, 07:29:07 am »
What I have ended up using instead is a series of ______________________________
as a popup menu item; good enough.
Al.
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

BlueIcaro

  • Hero Member
  • *****
  • Posts: 834
    • Blog personal
To make a divider menu, you should put in name property "-" without quotes, and only one character.

/BlueIcaro

AlistairG

  • Jr. Member
  • **
  • Posts: 70
To make a divider menu, you should put in name property "-" without quotes, and only one character.

/BlueIcaro
That is an invalid property for name.
Normally you put in "-" in the caption property but this does not work using my setup.
Alistair.
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

 

TinyPortal © 2005-2018