Skip to main content

TcxImageZoomingOptions.ShowZoomTrackBar Property

Specifies if the editor shows a zoom track bar when the mouse pointer is within the editor’s boundaries.

Declaration

property ShowZoomTrackBar: Boolean read; write; default False;

Property Value

Type Default Description
Boolean False
  • If False (default), the editor never displays a zoom track bar. If zoom operations are available, users can rotate the mouse wheel while holding down the Ctrl key to zoom the displayed image in or out.
  • If True, the editor displays a zoom track bar when zoom operations are available and the mouse pointer is within the editor’s area.

Remarks

Set the ShowZoomTrackBar property to True to allow the image editor to display a zoom track bar when zoom operations are available and the mouse pointer is within the editor’s boundaries. Terminal slider positions in the zoom track bar correspond to MinZoom and MaxZoom property values:

VCL Editors Library: Zoom Operations in an Image Editor

Zoom Operation Availability

Zoom operations are available only if the editor’s Properties.FitMode property is set to ifmNormal. In this mode, users can rotate the mouse wheel while holding the Ctrl key to zoom the displayed image in or out. If the Properties.Center property is set to False, users can also pan the displayed image.

VCL Editors Library: A Normal Fit Mode Example

Default Value

The ShowZoomTrackBar property’s default value is False.

See Also