FMX.ImgList.TGlyphImageLink.Create
Delphi
constructor Create(AOwner: TComponent); reintroduce;
C++
__fastcall TGlyphImageLink(System::Classes::TComponent* AOwner);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | FMX.ImgList.pas FMX.ImgList.hpp |
FMX.ImgList | TGlyphImageLink |
Description
Construit un objet TGlyphImageLink et initialise ses données avant sa première utilisation.
Create appelle le System.ImageList.TImageLink.Create hérité pour créer un objet TGlyphImageLink, allouer la mémoire, puis initialiser ImageIndex avec la valeur par défaut -1
. Create initialise ensuite Owner avec le paramètre AOwner
spécifié et Glyph avec la référence d'interface IGlyph dans l'objet Owner.
Une exception est déclenchée si AOwner
vaut nil
ou si AOwner
ne prend pas en charge l'interface IGlyph.