Autor Beitrag
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 28.12.05 18:50 
ich programmiere seit ich 12 bin und delpi seit ich 14 bin und ich bräucht für eine abart von Word eure Hilfe:
Wie kann ich im rtf eine aufzählung machen?

ps wer will bekommt mein fertiges Programm


Zuletzt bearbeitet von elundril am Mi 28.12.05 18:54, insgesamt 1-mal bearbeitet
zaraamy
ontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 84

Windows XP, Windows Mobile 5.0, Symbian OS 7.0, Symbian OS Series60, Mac OS 9
Apple Script (Scriptsprache) und ein bischen Real Basic, Robot.Karol (mini-Programmiersprache) und weitere dieser Art.
BeitragVerfasst: Mi 28.12.05 19:16 
Programmierst du das also jetzt komplett in Delphi? Welche Version (sofern schon vorhanden)? Welche Ausführung (hilft manchmal auch ein bischen)

Vielleicht noch ein bischen Code posten, denn so werden wohl auch die Könner etwas Schwierigkeiten haben deine Probleme genauer nachzuvollziehen und zu lösen.

Habe hier jedenfalls schon oft gesehen, dass eine Problemlösung oft erst dann möglich war.

Meinst du mit Aufzählng etwa folgendes :

1. Erste Zeile
2. Zweite Zeile
3. Dritte Zeile

und dass das automatisch bei "Enter" gemacht wird?
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 28.12.05 20:02 
Hallo,

eine Auszählung so wie user profile iconzaraamy sie dargestellt hat,
kannst Du mit dem folgenden Code erzielen:

:!: Richedit in uses einbinden

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
var
  aParaFormat: TParaformat2;
begin
  FillChar(aParaFormat, SizeOf(aParaFormat), 0);
  aParaFormat.cbSize := SizeOf(aParaFormat);
  aParaFormat.dwMask := PFM_NUMBERING or PFM_NUMBERINGSTART or PFM_NUMBERINGSTYLE or
                PFM_NUMBERINGTAB;
  aParaFormat.wNumbering := 2;
  aParaFormat.wNumberingStart := 1;
  aParaFormat.wNumberingStyle := $200;
  RichEdit1.Perform(EM_SETPARAFORMAT, 0, lParam(@aParaFormat));

die Werte für wNumbering -und Folgende- findest Du in der RichEdit.pas

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Fr 30.12.05 13:36 
danke das funkt.