Vcl.AxCtrls.TActiveXPropertyPageFactory.Create
Delphi
constructor Create(ComServer: TComServerObject; PropertyPageClass: TPropertyPageClass; const ClassID: TGUID);
C++
__fastcall TActiveXPropertyPageFactory(System::Win::Comobj::TComServerObject* ComServer, TPropertyPageClass PropertyPageClass, const GUID &ClassID);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TActiveXPropertyPageFactory |
説明
プロパティページファクトリを作成してそのファクトリをプロパティページクラスに結び付けます。
ComServer パラメータは,ActiveX ライブラリの COM サーバーオブジェクトへのポインタです。このパラメータは,通常,ComServ ユニットで宣言されるグローバル変数 ComServer です。
PropertyPageClass パラメータは,プロパティページの実装クラスのクラスオブジェクトです。実装クラスは TPropertyPage から継承されなければなりません。このクラスは,プロパティのダイアログに表示されるフォームを実装します。
ClassID パラメータは,プロパティページを識別する GUID です。各プロパティページには自身の GUID を持つ必要があります。GUID の作成方法については,開発者プログラマ用ガイドを参照してください。