FMX.Memo.TMemo

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Memo.TCustomMemoFMX.ScrollBox.TCustomPresentedScrollBoxFMX.Controls.Presentation.TPresentedControlFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentTMemo

Delphi

TMemo = class(TCustomMemo)

C++

class PASCALIMPLEMENTATION TMemo : public TCustomMemo

Properties

Type Visibility Source Unit Parent
class public
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo FMX.Memo

Description

TMemo is a multiline text editing control, providing text scrolling.

Use TMemo to place a standard multiline edit control on a form. Multiline edit boxes allow the user to enter more than one line of text. They are appropriate for representing large amounts of text.

The text in the memo control can be edited as a whole or line by line.

The characteristics of the text in the memo control can be modified by using, for example, Font, FontColor, or CharCase.

To limit the changes made to the memo control, use properties such as ReadOnly, Enabled, or MaxLength.

When not in focus, TMemo does not draw a selection rectangle even though the user has selected the text. You can verify whether the text is selected by using the SelText property.

Note: When a number of lines in a control is more than can be concurrently shown in the control, then you can use a scroll bar to scroll the text in the control. Notice that on Windows the scroll bar is shown by default. However, on OS X the scroll bar is not shown by default. On OS X, the scroll bar appears when you try to scroll a text using the mouse wheel. To enforce the scroll bar to be shown by default, in the Object Inspector, select the memo control and set the AutoHide to False.

See Also

Code Examples