FMX.ActnList.TCustomAction.Caption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Caption stored false;

C++

__property Caption = {stored=false, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.ActnList.pas
FMX.ActnList.hpp
FMX.ActnList TCustomAction

Description

Represents the caption of the action.

Caption holds the string that is used as the caption of the action, when it is set.

Caption is the same as Text. You can use both Text and Caption, but descendant classes should only use the Text published property, so that the Object Inspector displays only the Text property, as in most FireMonkey components.

The Caption property can be used to set an accelerator key to the action. Notice that & and _ are seen and can be used only under Windows.

See Also