Table of Contents

TProperty.IsCompatible Method

Checks if the property is compatible with another one.

Remarks

Use this method to check if the property is compatible with another property. To be compatible means that both properties can receive the same value no matter what is the value. In summary, the properties must be of the same type.

Syntax

Unit: PropertyList

function TProperty.IsCompatible(P: TProperty): Boolean;

Parameters

<-> Parameter Type Description
P TProperty The property which will be checked to be compatible with this one.

Returns

True if properties are compatible, false otherwise.

See also