Sign in Join

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

Mailing lists / lazarus / 2016-11

TextHint rewrite

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Ondrej Pokorny

Let me continue the "Memo.Lines.Add seems to be slow with Lazarus 1.6" - TextHint discussion:

1.) Unfortunately it's not possible to create the custom paint event "PaintAfterInterface" for all TWinControls on Win32. So it doesn't make sense to implement it.
2.) Some of Lazarus developers don't want to delete the TextHint emulation.

-> For now I rewrote the TextHint emulation a little bit. I hope it's better since I at least decoupled the properties from the emulation.

Ondrej

Reply by email

Bart
to Ondrej Pokorny
Ondrej Pokorny wrote 7 lines
1.) Unfortunately it's not possible to create the custom paint event "PaintAfterInterface" for all TWinControls on Win32. So it doesn't make sense to implement it. 2.) Some of Lazarus developers don't want to delete the TextHint emulation. -> For now I rewrote the TextHint emulation a little bit. I hope it's better since I at least decoupled the properties from the emulation.

The good news is that GTK 3.2 also supports such a thing natively, which means that maybe we can move this to widgetset code in the future.

Bart

Reply by email

Ondrej Pokorny
to Alexey
Alexey wrote
On 14.11.2016 17:32, Ondrej Pokorny via Lazarus wrote: > For now I rewrote the TextHint emulation Can we have Italic style of textHint , like before? In e.g. IDE filter boxes

WinAPI doesn't support changing text hint font - it is not italic. AFAIK "TextHint" e.g. in Konqueror navigation bar on Linux isn't italic either. So no unless you bring very good arguments for it.

Ondrej

Reply by email

Bart
to Ondrej Pokorny
Ondrej Pokorny wrote
WinAPI doesn't support changing text hint font - it is not italic. AFAIK "TextHint" e.g. in Konqueror navigation bar on Linux isn't italic either. So no unless you bring very good arguments for it.

I originally made it Italic, because native TextHint on Windows "looked" Italic to me ...

Bart

Reply by email