Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-04

TMenu - barbreak Delphi Compatbility.

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Justin Smyth

Guys.

In Delphi you can set the break to barbreak to break the menu in half , whats the best way ( if possible to do this in lazarus ) ?

Delphian

Reply by email

Justin Smyth
to Felipe Monteiro de Carvalho

Thats for a Horizital break , i'm trying to set a vertical break ie 2 or more columns,... its for a Win32/Win64 Project.

Earlier message 15 lines
----- Original Message ----- From: "Felipe Monteiro de Carvalho" To: "Justin Smyth" ; "FPC-Pascal users discussions" Sent: Wednesday, April 13, 2011 12:15 AM Subject: Re: [fpc-pascal] TMenu - barbreak Delphi Compatbility. > In the same way: Set the caption of the item which is a separator to > "-" without quotes > > > -- > Felipe Monteiro de Carvalho >

Reply by email

Paul Ishenin
to Justin Smyth: Guys. In Delphi you can set the break to barbreak to break the menu in half , whats the…
Justin Smyth wrote
Guys. In Delphi you can set the break to barbreak to break the menu in half , whats the best way ( if possible to do this in lazarus ) ?

This is a windows only feature and it is not implemented in lazarus.

To achive the desired effect on windows you can play with TMenuItem.Handle and windows api in {$ifdef windows} block inside your application.

Best regards,
Paul Ishenin

Reply by email

Ben
to Paul Ishenin
Paul Ishenin wrote
This is a windows only feature and it is not implemented in lazarus.

Actually, OS/2 also supports that feature (though rarely used)...but then Lazarus doesn't have an OS/2 native port yet. ;-)

Ben.

Reply by email

Zaher Dirkey
to Paul Ishenin: This is a windows only feature and it is not implemented in lazarus. To achive the…
Paul Ishenin wrote 11 lines
12.04.2011 21:52, Justin Smyth wrote: Guys. In Delphi you can set the break to barbreak to break the menu in half , whats the best way ( if possible to do this in lazarus ) ? This is a windows only feature and it is not implemented in lazarus.

And it is not work for Right To Left in Delphi or any application Windows

Regards

Zaher Dirkey

Reply by email