This object manages the layout of toolbar objects.
Note: At the current time this object is not on the TAS Professional pallet and not available for use.
Description
Use TControlBar as a docking site for toolbar components. Control bars contain child controls (usually TToolBar objects) that can be moved and resized independently at runtime. each child control resides on its own individual band that the user positions by dragging it's sizing grip.
PALETTE ICON & EXAMPLE
PROPERTIES
The following are the properties that apply to this object. Some are defined in Common Properties and are linked to their appropriate page.
Appearance
Behavior
Font
Hint
Misc
Other
AutoDock | Determines whether the control bar temporarily docks drag clients to provide visual feedback. If AutoDock is true (the default), when a dockable object is dragged over the control bar, the control bar temporarily docks the object so that the user can see the impact of the drag operation. That is, the user can see the dock position and how other docked controls will be repositioned to make room. When the user releases the mouse, the dragged object is docked at the current spot, and any temporary dockings are canceled. However, if the user cancels the drag-and-dock operation, the dragged object reverts to its last temporary dock site rather than to its location at the start of the drag operation. If AutoDock is false, the control bar does not temporarily dock dragged objects. Instead, the user only sees the dragging rectangle as it passes over the control bar, with no feedback as to the adjustments the control bar would make if the dragged object were released. |
AutoDrag | Specifies whether control bands can be undocked by dragging. Use AutoDrag to specify whether control bands are automatically undocked when the user drags them. If AutoDrag is true, control bands (TToolBar objects) are undocked when dragged off the control bar. Otherwise, control bands are kept within the control bar. |
Position
COMMENTS
This object would only be used during design.
EVENTS
There are no events for this object.
Page url: http://www.cassoftware.com/tas/manual/tcontrolbar.htm