Show: Delphi C++
Display Preferences

Classes.RegisterNonActiveXProc

From XE API Documentation
Jump to: navigation, search

Delphi

RegisterNonActiveXProc: procedure(const ComponentClasses: array of TComponentClass;

C++

extern PACKAGE void __fastcall (*RegisterNonActiveXProc)(TComponentClass const *ComponentClasses, const int ComponentClasses_Size, TActiveXRegType AxRegType);

Properties

Type Visibility Source Unit Parent
variable public
Classes.pas
Classes.hpp
Classes Classes

Description

RegisterNonActiveXProc is called by RegisterNonActiveX.

RegisterNonActiveX is used to prevent a registered set of custom components from being converted into ActiveX controls using the ActiveX wizard. It expects RegisterNonActiveXProc to be defined, and will throw an exception if not. If defined, it is invoked to carry out the protective process.

ComponentClasses parameter an array of custom classes that are descended from TComponent.

The AxRegType parameter indicates whether only the components in the ComponentClasses array should be blocked from the ActiveX wizard (when AxRegType is axrComponentOnly), or whether their descendants should be prohibited from becoming ActiveX controls as well (when AxRegType is axrIncludeDescendants).

See Also

Personal tools
Previous Version
Translations