Thema: Delphi Wo ist die Linie hin?

Einzelnen Beitrag anzeigen

oki

Registriert seit: 30. Dez 2002
Ort: Brandshagen
1.819 Beiträge
 
Delphi 2007 Professional
 
#2

Re: Wo ist die Linie hin?

  Alt 31. Okt 2006, 22:08
Hi,

ist Picture instanziiert?

probier mal das, bei mir geht's
Delphi-Quellcode:
  with Image1.Canvas do
    begin
    Pen.Style := psSolid;
    Pen.Color := clblack;
    MoveTo(0, 0);
    LineTo(image1.Width, image1.Height);
  end;
Gruß oki
  Mit Zitat antworten Zitat