![]() |
Re: Variable
Zitat:
Delphi-Quellcode:
type
TForm1 = class(TForm) procedure ShowFighter(Image, Richtung: String);
Delphi-Quellcode:
procedure TForm1.ShowFighter(Image, Richtung: String); // Auf das "TForm1" achten
var Fighter: TComponent; begin Fighter := FindComponent(Image); (Fighter as TImage).Picture.LoadFromFile('Bilder\' + Richtung + '.bmp'); end; |
Re: Variable
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:08 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-2025 by Thomas Breitkreuz