Show: Object Pascal C++
Display Preferences

FMX.Memo.TMemo.MaxLength

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property MaxLength: Integer read GetMaxLength write SetMaxLength default 0;

C++

__property MaxLength = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo TMemo

Description

Specifies the maximum number of characters that can be entered in the memo control.

Use MaxLength to set the maximum number of characters that can be entered in the memo control. If the memo control already contains a number of characters equal to or greater than MaxLength, the user cannot enter any more characters.

Note: Setting MaxLength does not truncate the existing text; it merely prevents the user from adding more text after reaching the limit of MaxLength characters.
Note: Even when MaxLength is 0, there may be limitations imposed by the operating system on the number of characters that may be entered into a memo control.

See Also

Personal tools
Translations