[Lazarus] TScrollBox.ScrollInView method does not work for nested child controls

Leyba Bronstain leobronstain at gmail.com
Sat May 1 01:08:24 CEST 2021


Hi all.

I found that the ScrollInView method doesn't scroll the scrollbar to a 
"hidden" control unless its parent is a scrollbox but another component 
that lies on the scrollbox.

test case:

1. Put to scrollbox the panel.
2. Put to panel any control (i.e. TEdit)
3. Change border of the scroll bar rectangle so that the nested control 
becomes "invisible"
4. Call ScrollInView method for this control


It's a bug?

-- 
/-- with best regards, Zoltanleo aka Док/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210501/4825a8c5/attachment.html>


More information about the lazarus mailing list