Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxImageZoomingOptions.ShowZoomTrackBar Property

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

#Declaration

Delphi
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