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

TdxMapControlNavigationPanel.ShowZoomTrackBar Property

Switches the visibility of the zoom track bar.

#Declaration

Delphi
property ShowZoomTrackBar: Boolean read; write; default True;

#Property Value

Type Default Description
Boolean True
True
Default. The zoom track bar is visible if the parent Map Control‘s OptionsBehavior.Zooming property is set to True (default).
False
The zoom track bar is hidden.

#Remarks

Users can do the following to zoom the displayed map in or out if the Map Control‘s OptionsBehavior.Zooming property is set to True (default):

  • Click and drag the zoom thumb, click any position on the zoom track, or click increment and decrement buttons if the ShowZoomTrackBar property is set to True (default).
  • Hold Shift and Ctrl keys and drag the mouse pointer to use marquee zoom.
  • Press + and - keys.
  • Rotate the mouse wheel.

#Zoom Track Bar

The zoom track bar indicates the current zoom level and allows users to zoom the map in or out.

VCL Map Control: Zoom Track Bar Elements

#UI Elements

Increment/Decrement Buttons
Increase and decrease the ZoomLevel property value by 1.
Zoom Track
Users can click any position on the zoom track to set the corresponding zoom level. The zoom thumb moves to the clicked position.
Zoom Thumb
Indicates the current zoom level on the zoom track. Users can drag the thumb like any other slider.

#Default Value

The ShowZoomTrackBar property’s default value is True.

See Also