Skip to main content

cxRegisterEditPropertiesClass(TcxPropertyEditorClass,TcxCustomEditPropertiesClass) Method

Creates the association between an editor and editor properties.

Declaration

procedure cxRegisterEditPropertiesClass(AEditorClass: TcxPropertyEditorClass; AEditPropertiesClass: TcxCustomEditPropertiesClass);

Parameters

Name Type
AEditorClass TcxPropertyEditorClass
AEditPropertiesClass TcxCustomEditPropertiesClass

Remarks

This procedure registers the TcxPropertyEditor custom editor with the TcxCustomEditProperties editor properties class. The TcxCustomEditProperties encapsulates settings that control the specified editor behavior.

The AEditorClass parameter specifies the type of property editor.

The AEditPropertiesClass parameter specifies the type of editor properties.

The following example shows the using of the cxRegisterEditPropertiesClass procedure:

interface
uses cxOI, cxSpinEdit;
//...
initialization
cxRegisterEditPropertiesClass(TcxIntegerProperty, TcxSpinEditProperties);
See Also