System.Classes.ReadComponentResEx
Delphi
function ReadComponentResEx(HInstance: THandle; const ResName: string): TComponent;
C++
extern DELPHI_PACKAGE TComponent* __fastcall ReadComponentResEx(NativeUInt HInstance, const System::UnicodeString ResName);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 | 
|---|---|---|---|---|
| function | public | System.Classes.pas System.Classes.hpp | System.Classes | System.Classes | 
説明
リソースからコンポーネントを読み取ります。
ReadComponentResEx 関数は,特定のモジュールに格納されているリソースからコンポーネントを読み取ります(ReadComponentRes は現在のモジュールを対象としています)。
HInstance は,リソースとしてコンポーネントを格納しているモジュールのインスタンスハンドルを示します。ResName はリソースに割り当てられている名前です。
ReadComponentResEx は,リソースから読み出されたコンポーネントのインスタンスを返します。