Vcl.AxCtrls.TActiveXPropertyPageFactory.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(ComServer: TComServerObject;
PropertyPageClass: TPropertyPageClass; const ClassID: TGUID);

C++

__fastcall TActiveXPropertyPageFactory(System::Win::Comobj::TComServerObject* ComServer, TPropertyPageClass PropertyPageClass, const GUID &ClassID);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.AxCtrls.pas
Vcl.AxCtrls.hpp
Vcl.AxCtrls TActiveXPropertyPageFactory

Description

Creates a property page factory and binds that factory to property page class.

The ComServer parameter is a pointer to the COM server object for the ActiveX library. This is normally the global variable, ComServer, declared in the ComServ unit.

The PropertyPageClass parameter is the class object of the property page's implementing class. The implementing class must be derived form TPropertyPage. This class implements the form that is to appear in the property dialog.

The ClassID parameter is a GUID that identifies the property page's class. Each property page should have its own GUID. See the Developer's Programmer's Guide for information on how to create a GUID.

See Also