Show: Delphi
C++
Display Preferences
DesignEditors.TPropertyEditor.GetEditLimit
From XE2 API Documentation
Delphi
function GetEditLimit: Integer; virtual;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | DesignEditors.pas | DesignEditors | TPropertyEditor |
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.