DesignEditors.TComponentProperty.GetEditLimit

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TComponentProperty

Delphi

function GetEditLimit: Integer; override;

C++

virtual int __fastcall GetEditLimit();

Description

Returns the maximum length, in characters, of the Value property.

DesignEditors.TComponentProperty.GetEditLimit inherits from DesignEditors.TPropertyEditor.GetEditLimit. All content below this line refers to DesignEditors.TPropertyEditor.GetEditLimit.

Returns the maximum length, in characters, of the Value property.

The Object Inspector calls GetEditLimit to determine how many characters the user can type when entering a value for the property. GetEditLimit returns 255. Override this method when the maximum length of the property string is some other value.

See Also