![]() |
Problem mit TPicture als Property
Hallo,
ich möchte in einer Komponente eine Property aufbauen, mit der man ein Picture auswählen kann. unter "Type" hab ich folgendes drin:
Code:
Die Procedure schaut so aus:
private
{ Private-Deklarationen } FCustomFlagPicture : TPicture; procedure SetCustomFlagPicture(Value: TPicture); published { Published-Deklarationen } // Properties: property CustomFlagIcon: TPicture read FCustomFlagPicture write SetCustomFlagPicture;
Code:
Mein Problem ist, dass ich zwar im OI noch ohne Probleme z. b. ein Icon auswählen kann. Aber sobald ich sage "Laden" dann bekomm ich folgende Fehlermeldung:
procedure TTrayIcon.SetCustomFlagPicture(Value: TPicture);
begin //Wird aufgerufen, wenn sich die Variable "FCustomFlagPicture" ändert FCustomFlagPicture.Assign(Value); end; Zitat:
mfg Helmi |
Re: Problem mit TPicture als Property
Sorry,
hat sich erledigt! mfg Helmi |
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:09 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