Autor Beitrag
Hochhaus
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 662
Erhaltene Danke: 8

Windows 7
Delphi XE2
BeitragVerfasst: So 08.08.10 15:50 
Hallo allerseits !

in meinem Texteditor hole ich die Zeilenangabe mit folgendem Befehl:
ausblenden Delphi-Quelltext
1:
Zeile := RichEdit1.Perform(EM_LineFromChar, -10) + 1;					

Wie hole ich die Spalte aus dem Richedit ?


Vielen Dank im Voraus für die Hilfe !


Gruss,


Hochhaus

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 09.08.2010 um 11:19
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: So 08.08.10 15:58 
Das sollte dir funktionieren:

ausblenden Delphi-Quelltext
1:
Column := RichEdit1.SelStart - RichEdit1.Perform(EM_LINEINDEX, Line, 0);					


lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.

Für diesen Beitrag haben gedankt: Hochhaus
Hochhaus Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 662
Erhaltene Danke: 8

Windows 7
Delphi XE2
BeitragVerfasst: Mo 09.08.10 06:09 
Moderiert von user profile iconNarses: Komplett-Zitat des letzten Beitrags entfernt.

Danke !!!

Es funktioniert.