RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOrdinalProperty.GetEditLimit Method

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

Pascal
function GetEditLimit: Integer; override;
C++
virtual __fastcall int GetEditLimit();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!