RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterNamedField.GetMaxLength Method

Returns the maximum length, in characters, that the user should be allowed to enter when entering a value for this adapter field.

Pascal
function GetMaxLength: Integer;
C++
__fastcall int GetMaxLength();

The value returned by this function can be accessed with server-side script using the MaxLength property. Server-side script may use this value to define HTML elements that limit the number of characters that can be entered by the end-user. GetMaxLength calls ImplGetMaxLength

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!