DesignEditors.TPropertyEditor.GetEditLimit

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function GetEditLimit: Integer; virtual;

C++

virtual int __fastcall GetEditLimit();

Description

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