[Lazarus] Incorrect scrollbar theme in editor popup windows

Graeme Geldenhuys graeme at geldenhuys.co.uk
Wed Sep 26 14:15:18 CEST 2012


On 2012-09-26 11:36, Martin wrote:
>
> SO it is probably   TScrollBar that needs looking after?

It seems you are right, and it looks like a TScrollBar bug. Very easy to 
reproduce. Simply place one vertical and one horizontal scrollbar on a 
Form. Set the Form.Color to clBlack.  Poof, your scrollbars disappear 
(strangely enough except for the left and top scroll button). All GTK2 
theme painting of the scrollbar is ignored by LCL.

Looking at TCustomScrollBar, it seems they do lots of odd WinAPI-style 
trickering in just creating the component, so I have no clue what's 
actually going on. But I'll play around some more.



Regards,
   - Graeme -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 1813 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120926/22def10b/attachment-0003.png>


More information about the Lazarus mailing list