[Lazarus] VirtualTreeView question, horizontal jump

luiz americo pereira camara luizmed at oi.com.br
Wed Aug 21 18:40:50 CEST 2013


2013/8/21 Jürgen Hestermann <juergen.hestermann at gmx.de>

>
> Am 2013-08-21 11:16, schrieb Jürgen Hestermann:
>
>  Why does a normal move down shift the whole tree horizontally to the
>> right margin each second move (slider is at max right position) and back to
>> the left again?
>>
>>
> I now found that "toDisableAutoscrollOnFocus" (under "AutoOptions") is
> changing between these both behaviours:
>
> If I set it to TRUE I can navigate as usual within the tree (without
> horizontal shifting) *but* when reaching the bottom border of the window
> the cursor disappears below it without shifting up the tree display. So I
> don't see my cursor anymore (which is totally useless).
> If I set it to FALSE the tree display is shifted up when reaching the
> bottom of the display *but* now it jumps to the right border every second
> down move (so that I don't see the tree anymore, only when shifting it back
> with Ctrl+Enter).
>

Try to set toCenterScrollIntoView and toDisableAutoscrollOnFocus

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130821/5f58ce5e/attachment-0003.html>


More information about the Lazarus mailing list