Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#14

Re: Kleines Canvas-Experiment

  Alt 5. Dez 2006, 15:44
Was soll wie viel bringen? Ein Image ist einfach nicht dafür konzipiert, dass man es zum Zeichnen benutzt:
Zitat:
Use TImage to display a graphical image on a form.
Zitat:
TPaintBox provides a canvas that applications can use for rendering an image.
[..]
Use TPaintBox to add custom images to a form. Unlike TImage, which displays an image that is stored in a bitmap, icon, or metafile, TPaintBox requires an application to draw the image directly on a canvas. Use the OnPaint event handler to draw on the paint box’s Canvas, the drawing surface of the paint box.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat