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: Autosize einer Spalte (https://www.delphipraxis.net/124792-tvirtualstringtree-autosize-einer-spalte.html)

hoika 25. Nov 2008 12:11


TVirtualStringTree: Autosize einer Spalte
 
Hallo,

gibt es ein AutoSize property.
1 Spalte soll sich immer an den Länge des Inhaltes anpassen.

Ich finde dort nichts ;(


Danke


Heiko

Gollum 26. Nov 2008 07:49

Re: TVirtualStringTree: Autosize einer Spalte
 
Hallo,

Delphi-Quellcode:
  with VirtualStringTree1.Header do
  begin
    Options:=Options+[hoAutoResize];
    AutoSizeIndex:=1;
  end; // with VirtualStringTree1.Header


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