Vcl.Graphics.TIcon.LoadFromResourceName
Delphi
procedure LoadFromResourceName(Instance: THandle; const ResName: String);
C++
void __fastcall LoadFromResourceName(Winapi::Windows::THandle Instance, const System::UnicodeString ResName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TIcon |
Description
Loads an icon resource into the icon object.
LoadFromResourceName loads the specified icon resource from a module's executable file.
Instance is the handle of the module that contains the resource.
ResName is the name of the resource to load.