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 Blocksatz in RichEdit? (https://www.delphipraxis.net/67210-blocksatz-richedit.html)

mlspider 11. Apr 2006 10:07


Blocksatz in RichEdit?
 
Hallo,

die Eigenschaft Alignment von TRichEdit enthält 3 Zunstände (Linksbündig, Rechtsbündig, Zentriert), die ich wie folgt festlege:

Delphi-Quellcode:
procedure TBrief.spSkinSpeedButton5Click(Sender: TObject);
begin
 if (Sender = SpeedButton4) then
    RichEdit1.Paragraph.Alignment := taLeftJustify
  else if (Sender = Speedbutton5) then
    RichEdit1.Paragraph.Alignment := taCenter
  else if (Sender = Speedbutton6) then
    RichEdit1.Paragraph.Alignment := taRightJustify;
end;
Wie aber könnte man nun Blocksatz definieren?

Danke

xaromz 11. Apr 2006 10:40

Re: Blocksatz in RichEdit?
 
Hallo,

IMHO unterstützt das RichEdit-Control Blocksatz nicht. Deshalb kann WordPad auch keinen Blocksatz.

Gruß
xaromz

mlspider 11. Apr 2006 10:45

Re: Blocksatz in RichEdit?
 
So etwas in der Richtung habe ich mir schon denken können. Danke.


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