Thema: Delphi Frage zu SynEdit.

Einzelnen Beitrag anzeigen

Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#7

Re: Frage zu SynEdit.

  Alt 14. Okt 2007, 15:06
Also bei mir funzt der Code nicht ganz.

Delphi meckert rum:

Zitat:
[ERROR]...: Incompatible types: 'TPoint' and 'TBufferCoord'
Delphi-Quellcode:
procedure TForm1.Action1Update(Sender: TObject);
var
  Point: TPoint;

begin
  Point := SynEdit1.CaretXY;
  StatusBar1.Panels[0].Text := Format(' %6d:%3d ', [Point.Y, Point.X]);
end;
mfG
Störtebeker
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat