TiPlotToolBar.DoButtonClickZoomAxesMode
TiPlotToolBar See Also
Clicks the ZoomAxesMode button on the toolbar.
procedure DoButtonClickZoomAxesMode;
Description
Call DoButtonClickZoomAxesMode to toggle the ZoomAxesMode Button on the
toolbar. This method performs the same action as if the user had clicked on the
ZoomAxesMode Button. This method is useful for implementing a toolbar outside of
the Plot Component.
The ZoomAxesMode button changes the way the axis acts when a user clicks and
drags the axis. In this mode, the scale is zoomed-in if dragged up or to the
left and zoomed-out if dragged down or to the right.
Example
Delphi
iComponent.ToolBar[0].DoButtonClickZoomAxesMode(); //Clicks the ZoomAxesMode Button
C++ Builder
iComponent->ToolBar[0]->DoButtonClickZoomAxesMode(); //Clicks the ZoomAxesMode Button
Contents | Index | Previous | Next