Autor Beitrag
Zemke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 83

WIN XP
Delphi 4 Professionell
BeitragVerfasst: Mi 30.07.03 15:43 
Hallo

In meiner RichEdit-Komponente soll Text in Tabellenform ausgegeben werden (Auswertung einer DB-Komponente mittels SQL). Wie bekomme ich es hin, daß zwischen den einzelnen Titeln in der ersten Zeile,
wie auch unten gleiche Abstände sind - horizontal untereinander - (in Word kann hierzu der
Tabulator verwendet werden)?

Gruß
Rainer Zemke
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Do 31.07.03 16:30 
Indem du die beim füllen des Richedit folgendes machst:

Richedit1.Lines.Add(Field1 + Chr(9) + Field2 + Chr(9) + Field3);

usw.
Zemke Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 83

WIN XP
Delphi 4 Professionell
BeitragVerfasst: Mi 06.08.03 11:53 
Titel: RichEdit
Das funktioniert so weit.

Kann man hier auch genaue Positionen (x,y) angeben - wie beim Canvas-Befehl - ?

Es wäre einfacher.

Gruß
Rainer
recall
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Mi 13.08.03 00:49 
Schau dir RichEdit1.SelStart an. Aber ansonsten gibts dafür meines Wissens keine Standard-Eigenschaft. Das musst du dir selber schreiben ;)

Viele Grüsse.