API:DesignEditors.TStringProperty.GetEditLimit
Delphi
function GetEditLimit: Integer; override;
C++
virtual int __fastcall GetEditLimit();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TStringProperty |
Description
Returns the maximum length, in characters, of the Value property.
DesignEditors.TStringProperty.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.