[Lazarus] Incorrect scrollbar theme in editor popup windows

zeljko zeljko at holobit.net
Wed Sep 26 14:10:17 CEST 2012


On Wednesday 26 of September 2012 13:34:34 Graeme Geldenhuys wrote:
> On 2012-09-26 12:22, Mattias Gaertner wrote:
> > The TSynBaseCompletionForm paints on the form, the whole area. But the
> > TScrollBar is not opaque, so syncompletion paints into the scrollbar.
> > I fixed the background of items.
> 
> Why is the TScrollBar not opaque?  Is this a setting only for synedit,
> or for general LCL?

WS decides about opacity of scrollbar. LCL does not paint it at all.
 
> Or why doesn't the form painting simply not take the scrollbar into
> account. If the scrollbar is visible, reduce the client rectangle
> painting area and/or paint the client area behind the scrollbar as
> clForm color.

Paint method of that forms should take into account scrollbar and reduce it's 
rect (so not FillRect() and others below scrollbar.

zeljko




More information about the Lazarus mailing list