Table of Contents

TAdvCustomInspector.GetMaxLength Method

Retrieves the maximum value length for the text being typed in a property editor.

Syntax

Unit: InspectorControls

function TAdvCustomInspector.GetMaxLength(TheIndex: Integer): Integer; virtual;

Parameters

<-> Parameter Type Description
TheIndex Integer Index of the property being edited.

Returns

The maximum allowed length of the propery value.

See also