Indicates whether items shown in this action band represent the items in a popup menu.
property ContextBar: Boolean;
__property Boolean ContextBar;
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!