Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi VST - Autoscroll (wie bei tMemo) (https://www.delphipraxis.net/141013-vst-autoscroll-wie-bei-tmemo.html)

deadcantdance 30. Sep 2009 15:56


VST - Autoscroll (wie bei tMemo)
 
Hi,

ich benutze den VST als Listview. Welche Optionen muss ich denn setzen, um beim Einfügen von neuen Einträgen automatisch ans Ende zu scrollen, so wie es bei einem Memo der Fall ist?

Viele Grüße,
deadcantdance

rweinzierl 30. Sep 2009 16:05

Re: VST - Autoscroll (wie bei tMemo)
 
Hallo

function TBaseVirtualTree.ScrollIntoView(Node: PVirtualNode; Center: Boolean; Horizontally: Boolean = False): Boolean;

// Scrolls the tree so that the given node is in the client area and returns True if the tree really has been
// scrolled (e.g. to avoid further updates) else returns False. If extened focus is enabled then the tree will also
// be horizontally scrolled if needed.
// Note: All collapsed parents of the node are expanded.


sollte zum gewünschten Knoten scrollen

mfg

Reinhold


----------
Das Bestandsbuch für Schweinehalter www.ithof.de

deadcantdance 30. Sep 2009 16:47

Re: VST - Autoscroll (wie bei tMemo)
 
Besten Dank, das habe ich gesucht.


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:09 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz