Autor Beitrag
JustDuIt
Hält's aus hier
Beiträge: 9



BeitragVerfasst: Do 28.04.05 08:59 
Hallo,
gibt es die Möglichkeit, einen Tabulator rechtsbündig in einem RichEdit zu erstellen? Standardmäßig ist ja linksbündig eingestellt.

Danke

Moderiert von user profile iconTino: Titel geändert.
Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mo 02.05.2005 um 08:08
Marco15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: So 01.05.05 15:07 
Wenn du meinst, dass der Text einfach rechts stehen soll, dann änder einfach im Objektinspektor Alignment um in taRightJustify
oder in der Prozedur wäre es dann logischerweise


ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure rechts;
begin
  form1.Richedit1.Paragraph.Alignment := taRightJustify;
end;


Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.

_________________
Ich bin nur Schüler.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 01.05.05 18:28 
Ich glaub, er meint, dass es wie bei Word gemacht ist und der Tab als Ausrichtungsmarke dient ...

Unter Word kann man bei 10cm einen Tabstopp setzen und dann jeglichen Text an diesem Tabstop rechts ausrichten und über einen weiteres Tabzeichen in der gleichen Zeile trotzdem noch weiteren Text schreiben ...

Also etwa so hier:
ausblenden Quelltext
1:
2:
3:
Tab ist hier: --\/
    Dies ist ein   Dies ist ein
   schöner Text.   anderer Text

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.