Vcl.ActnMan.TCustomActionBar.ContextBar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ContextBar: Boolean read FContextBar write FContextBar;

C++

__property bool ContextBar = {read=FContextBar, write=FContextBar, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionBar

Description

Indicates whether items shown in this action band represent the items in a popup menu.

ContextBar controls which items this action band lists in its ActionControls property. The action band's associated action client (the value of the ActionClient property) can contain two lists of items:

One list (the action client's Items property) lists all the child items the action band can display when it is a regular UI element such as a main menu or tool bar. TCustomActionBar uses this list when ContextBar is false.

The other list (the action client's ContextItems property) lists all the child items that should appear if the action band appears in response to a right click. (For example, the ContextItems property is used when the action band represents a context menu). TCustomActionBar uses this list when ContextBar is true.

See Also