Autor Beitrag
Stauch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 140

Win 2000, Win XP
D4
BeitragVerfasst: Do 29.01.04 13:07 
Mit Form1.canvas.Lineto läßt sich hübsch malen.

Aber wie kriege ich das Gemälde wieder weg?

Sowas wie canvas.clear scheint es ja nicht zu geben -

Kennt jemand einen Trick?

C.

_________________
Geht das? Und wenn ja, warum nicht?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 29.01.04 13:18 
Titel: Einfach
Hallo!

Erstens könntest Du mal Refresh oder Update aufrufen (denn Formular-Canvas Zeichnungen werden nicht irgendwo gespeichert) und zweitens könntest Du einfach ein Quadrat in der Formular-Farbe drüberzeichnen.

MfG,
S.J.
Stauch Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 140

Win 2000, Win XP
D4
BeitragVerfasst: Do 29.01.04 13:36 
update war nicht auffindbar,
refresh funktioniert nicht

aber drübermalen geht. :D

War zwar nicht unbedingt das, woran ich gedacht hatte, aber Trotzdem:

@jaenicke: Danke!

_________________
Geht das? Und wenn ja, warum nicht?
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Do 29.01.04 16:48 
ich glaube auch, dass es nur über drüberzeichnen zu lösen ist :?