Sign in Join

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

Mailing lists / lazarus / 2016-04

Adding TListView.GetHeaderHeight

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Denis Kozlov

Hi,

Is it possible to add a TListView.GetHeaderHeight method?

My implementation for Windows as a standalone function is attached.

Can this can be done on other platforms? I don't have the expertise in other widgets.

Regards,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160411/07aad506/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: uListViewHeader.pas
Type: application/octet-stream
Size: 1014 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160411/07aad506/attachment.obj>

Reply by email

Zeljko
to Denis Kozlov
Denis Kozlov wrote 8 lines
Hi, Is it possible to add a TListView.GetHeaderHeight method? My implementation for Windows as a standalone function is attached. Can this can be done on other platforms? I don't have the expertise in other widgets.

AFAIK yes.

zeljko

Reply by email

Denis Kozlov
to Zeljko
Zeljko wrote 13 lines
On 04/11/2016 05:29 PM, Denis Kozlov wrote: > Is it possible to add a TListView.GetHeaderHeight method? > > My implementation for Windows as a standalone function is attached. > > Can this can be done on other platforms? I don't have the expertise in > other widgets. > AFAIK yes.

I have submitted a patch which implements it for Win32 and WinCE widgetsets: http://bugs.freepascal.org/view.php?id=29997

Is anybody interested in implementing it for other platforms?

Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160412/30a14d13/attachment.html>

Reply by email

Zeljko
to Denis Kozlov
Denis Kozlov wrote 22 lines
On 12 April 2016 at 08:29, Zeljko < <mailto:>> wrote: On 04/11/2016 05:29 PM, Denis Kozlov wrote: Is it possible to add a TListView.GetHeaderHeight method? My implementation for Windows as a standalone function is attached. Can this can be done on other platforms? I don't have the expertise in other widgets. AFAIK yes. I have submitted a patch which implements it for Win32 and WinCE widgetsets: http://bugs.freepascal.org/view.php?id=29997 Is anybody interested in implementing it for other platforms?

I'll implement it, doesn't look like a big problem, but still wondering why is this good for (getHeaderHeight) ?

zeljko

Reply by email