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

2021-05-02 Thread Leyba Bronstain via lazarus
I'm sorry. The last patch doesn't work on a more complex project https://forum.lazarus.freepascal.org/index.php/topic,54354.msg404381.html#msg404381 01.05.2021 20:53, Michael W. Vogel via lazarus пишет: Am 01.05.2021 um 01:08 schrieb Leyba Bronstain via lazarus: I found that the ScrollInView

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

2021-05-01 Thread Лев Бронштейн via lazarus
Good news. Thank a lot "Michael W. Vogel via lazarus" 1 мая 2021 г. 8:54:08 ПП написал: Am 01.05.2021 um 01:08 schrieb Leyba Bronstain via lazarus: I found that the ScrollInView method doesn't scroll the scrollbar to a "hidden" control unless its parent is a scrollbox but another component

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

2021-05-01 Thread Michael W. Vogel via lazarus
Am 01.05.2021 um 01:08 schrieb Leyba Bronstain via lazarus: 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. Fixed in Trunk revision 65078 with code from https://forum.lazar

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

2021-04-30 Thread Leyba Bronstain via lazarus
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