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 TVirtualStringTree Update Notes (https://www.delphipraxis.net/193069-tvirtualstringtree-update-notes.html)

ATS3788 17. Jun 2017 08:26

TVirtualStringTree Update Notes
 
Hallo
Ich möchte über einen Timer gerne eine VirtualTree Komponente, mit neuen Strings updaten.
Leider finde ich dazu im Netz nichts. Hat dazu jemand eine Idee?

jaenicke 17. Jun 2017 08:42

AW: TVirtualStringTree Update Notes
 
Einfach Invalidate oder InvalidateNode aufrufen. Beim Neuzeichnen werden die Texte wieder über OnGetText aus den Daten abgerufen.

ATS3788 18. Jun 2017 07:50

AW: TVirtualStringTree Update Notes
 
Hallo
Danke für die Antwort
Ich hatte
Invalidate auf das Parent Form gemacht und nicht auf die VirtualStringTree:oops:


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:23 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