<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
<br/>zeljko <zeljko@holobit.net> hat am 26. September 2012 um 14:10 geschrieben:
<br/>> On Wednesday 26 of September 2012 13:34:34 Graeme Geldenhuys wrote:
<br/>> > On 2012-09-26 12:22, Mattias Gaertner wrote:
<br/>> > > The TSynBaseCompletionForm paints on the form, the whole area. But the
<br/>> > > TScrollBar is not opaque, so syncompletion paints into the scrollbar.
<br/>> > > I fixed the background of items.
<br/>> >
<br/>> > Why is the TScrollBar not opaque? Is this a setting only for synedit,
<br/>> > or for general LCL?
<br/>>
<br/>> WS decides about opacity of scrollbar. LCL does not paint it at all.
<br/>>
<br/>> > Or why doesn't the form painting simply not take the scrollbar into
<br/>> > account. If the scrollbar is visible, reduce the client rectangle
<br/>> > painting area and/or paint the client area behind the scrollbar as
<br/>> > clForm color.
<br/>>
<br/>> Paint method of that forms should take into account scrollbar and reduce it's
<br/>> rect (so not FillRect() and others below scrollbar.
<br/>
<br/>
</div>
<div>
Or exclude the clip rect or add csOpaque to the scrollbar controlstyle.
</div>
<div>
</div>
<div>
Mattias
</div>
<div>
</div>
</body></html>