Skip to main content

TdxCustomGaugeControl.AddContainer Method

Adds the container (i.e., non-visual scale) for grouping and managing scales within the Gauge Control.

Declaration

function AddContainer: TdxGaugeContainerScale;

Returns

Type
TdxGaugeContainerScale

Remarks

Invoke this function to create a helper scale object that can be used for hosting and positioning other scales, including other instances of the TdxGaugeContainerScale class:

For more information on scale management, sizing, and positioning, refer to the Scale Layout and Containers topics.

To create an ordinary scale, invoke the AddScale function instead.

Note

Use the Clear and DeleteScale methods to remove scales (including containers) from the ExpressGauge control programmatically.

See Also