Autor Beitrag
ak
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 240

Suse Windows 9 XP
D6 Professional
BeitragVerfasst: Mo 03.11.03 14:05 
Hallo Leute,

mit folgendem Code sollte sich eigentlich eine gepunktete Linie zeichnen lassen, es funktioniert aber nicht (die Linie ist durchgehend). Woran könnte das liegen.

ausblenden Quelltext
1:
2:
3:
 Bitmap.Canvas.Pen.Width:=1;
              Bitmap.Canvas.Pen.Color:=clBlack;
              Bitmap.canvas.pen.style:=psdash;

_________________
Gruß AK
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mo 03.11.03 14:14 
Hallo, gepunktet wäre psdot, obwohl das nicht wirklich gepunktet ist ;)

was hast du als brush-color eingestellt?

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
ak Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 240

Suse Windows 9 XP
D6 Professional
BeitragVerfasst: Mo 03.11.03 14:39 
Hallo,

Bitmap.Canvas.Brush.Color:=clgray;

aber ich denke es liegt daran, dass der Pen.mode vorher verändert wird.

_________________
Gruß AK
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mo 03.11.03 14:53 
hast du noch ein bischen mehr code? wie lang ist die zu zeichnedne Linie?

ich kanns nicht nachvollziehen, bei mir geht das.

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)