Forum > General

how to utilize customize form caption row

(1/4) > >>

Packs:
I would like to utilize form caption row .

I mean I would like to customize caption of the form .

I have attached the screens  .

if anyone know . please guide me

Zvoni:
IIRC, titlebar (with its systemmenu, caption and buttons) is "painted" by the OS, applying themes and what not.

That said: Probably best bet is custom drawn.

No idea how to do it. Never needed it, never will need it

paweld:
Read this thread: https://forum.lazarus.freepascal.org/index.php/topic,64113.0.html

RobA:
On Windows you might want to look at WM_NCPAINT. As I recall, handling that message should let you draw in the title bar, but I'm afraid I can't remember how, or exactly what you are able to do - it's been a long, long time since I needed it.

domasz:
You can do BorderStyle := bsNone, put a TPanel on your Form, set it to Align := alTop and make it look and work like a real Titlebar.

Navigation

[0] Message Index

[#] Next page

Go to full version