Vcl.Graphics.TIcon.LoadFromResourceName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromResourceName(Instance: THandle; const ResName: String);

C++

void __fastcall LoadFromResourceName(NativeUInt 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.

See Also