![]() |
ListBox mit Spalten
Hallo,
so kann man einfach Spalten in einer ListBox erstellen.
Delphi-Quellcode:
Grüsse, Daniel :hi:
procedure TForm1.Button4Click(Sender: TObject);
begin ListBox1.TabWidth := 25; ListBox1.Items.Add('Spalte 1'^I'Spalte 2'^I'Spalte 3'); end; |
Noch eine kleine Info.
Anstatt ^I kann man auch
Delphi-Quellcode:
nehmen.
'Spalte1' + #9 + 'Spalte2' + #9 + 'Spalte3'
#9 = HT, ist Ascii und steht für Horizontal Tabulation = Horizontaltabulator. Grüsse, Daniel :hi: |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:29 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz