What’s New in AutomatedDocking Library 1.11
Changes in the docking manager
The docking manager’s OnChange event has a new parameter that specifies which control property was changed.
The docking manager’s
Items property returns the
TaqDockingControls
object that provides access to the docking manager’s collection of
docking controls. This object has a new method and two new properties:
-
The
HasControl method lets
you determine whether a docking control belongs to the docking manager.
You can use this method in applications containing two or more docking
managers in order to prevent errors related to docking one docking
manager’s panel to another docking manager. -
Two new properties of the
TaqDockingControls object, Containers and ContainerCount, allow you to work with the collection of containers created by the docking manager.
A new property of the docking manager, called DockingState, lets you easily determine whether the docking manager saves the docking scheme or loads it from a file or the system registry.
Changes in docking control objects
A new property, called TaqCustomDockingControl.ControlStatus,
provides information about a docking control’s current status. You can
use this property to determine whether the control is currently being
resized, docked or undocked, loaded from a file, etc.
The TaqDockingControl objects have a new event called OnResize. It lets you perform specific operations upon resizing a docking control.
A new docking control event, called OnDragDock, lets your application perform specific actions when a docking control is being dragged.
A docking control’s OnChange
event has a new parameter that specifies which of the control’s
properties was changed: width, height, caption, visibility, etc.
Docking controls have a new method, called GetParentItems that scans the controls’ hierarchy and returns a list of all parent containers to which the control belongs.
Another new method of docking control objects, called CommonParentWith, returns the “closest” parent docking control for two docking controls.
Changes in style objects
All style object changes concern properties affecting docking controls, which are docked as tabbed pages:
All style objects have a new property, called ActiveTabFont that specifies font settings for the active tabbed page.
The TaqDefaultUIStyle object has a new property, called ActiveTabColor that specifies the color settings for the caption of the active tabbed page.
The TaqDefaultUIStyle.InactiveTabColor property is now obsolete and has been removed. To specify color settings for inactive tabbed pages, use the TaqDefaultUIStyle.TabColor property.