![]() |
TImage - Größe ändern
Delphi-Quellcode:
Von sakura!
procedure BoxesOnPaint(Sender: TPaintBox);
var PB: TPaintBox; Bmp: TBitmap; begin if Sender = PaintBox1 then begin PB := PaintBox1; Bmp := Bitmap1; end else if Sender = PaintBox2 then begin PB := PaintBox2; Bmp := Bitmap2; end else if Sender = PaintBox3 then begin PB := PaintBox3; Bmp := Bitmap3; end else if Sender = PaintBox4 then begin PB := PaintBox4; Bmp := Bitmap4; end else begin ... Exit; end; ... PB.Canvas.CopyRect(R, Bmp.Canvas, R); // R = TRect Grüsse, Daniel :hi: |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:44 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz