Sign in Join

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

Mailing lists / lazarus / 2017-09

Idea of TFormTitle

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Alexey

Maybe ok idea? make class TFormTitle. it is some small (by Y) form which is embedded into Form (form which has FormTitle property set). When prop FormTitle set, OS border hides and obj of FormTitle inserted into TOP of form (it looks like OS window caption).

When this FormTitle is used, form has LCL border. default FormTitle can be simple (x, min, max +icon +title). OS border is hidden. It is ok idea?

Regards, Alexey

Reply by email

Kostas Michalopoulos
to Alexey

Why would you want that?

On Mon, Sep 11, 2017 at 11:19 PM, Alexey via Lazarus <

Show quoted text 20 lines
wrote: Maybe ok idea? make class TFormTitle. it is some small (by Y) form which is embedded into Form (form which has FormTitle property set). When prop FormTitle set, OS border hides and obj of FormTitle inserted into TOP of form (it looks like OS window caption). When this FormTitle is used, form has LCL border. default FormTitle can be simple (x, min, max +icon +title). OS border is hidden. It is ok idea? -- Regards, Alexey -- _______________________________________________ Lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170912/233158d3/attachment.html>

Reply by email

Alexey
to Kostas Michalopoulos
Why would you want that?

LCL can have global var for FormTitle. this var can be used by all forms. so all forms will be "themed". if programmer changes this glob var (like we can do with THintWindow) then all windows have themed window title.

Regards, Alexey

Reply by email