Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi ImageList Problem bei for-Schleife (https://www.delphipraxis.net/17470-imagelist-problem-bei-schleife.html)

Nightshade 9. Mär 2004 18:30

Re: ImageList Problem bei for-Schleife
 
Delphi-Quellcode:
procedure TForm1.imgBackroundMouseDown(Sender: TObject;
  Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
if klick = true then begin
  if Sender is TImage then begin
    FigurListe.Draw((Sender as TImage).canvas,0,0,3,true);
  end;
end;
Villeicht gehts so...

barnti 9. Mär 2004 19:25

Re: ImageList Problem bei for-Schleife
 
Hi LoW_FloW,

Zitat:

Klick hat nix damit zu tun....
Das ist was anderes
Deshalb hatte ich OT gepostet. ;)
Wollte Dich auch nur freundlich darauf hinweisen, dass die oben erwähnte Stelle Deines Codes als sehr schlechter Stil angesehen wird und Du damit 'auf der Nase landen könntest'(Ich spreche da aus Erfahrung).

Also nichts für Ungut. Ist mir nur aufgefallen und ich wollte Dir behilflich sein auch wenn es nicht direkt zum Thema gehörte.


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:51 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz