DesignEditors.TOrdinalProperty.GetEditLimit
Delphi
function GetEditLimit: Integer; override;
C++
virtual int __fastcall GetEditLimit(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TOrdinalProperty |
Description
Returns the maximum length, in characters, of the Value property. {{#multireplace:DesignEditors.TOrdinalProperty.GetEditLimit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:DesignEditors.TPropertyEditor.GetEditLimit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:DesignEditors.TPropertyEditor.GetEditLimit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.