IMapView.UseScrollBars

Syntax

UseScrollBars: Boolean;

Description

The UseScrollBars property determines whether scroll bars are used.

Comments

The property is relevant only on working with forms.

Available values:

Example

Executing the example requires a form containing the Button component with the Button1 identifier, the MapBox component with the MapBox1 identifier and the UiMap component with the UiMap1 identifier. Specify the UiMap1 data source for the MapBox1 component, the data source must be set to display a legend on the map.

The example is the OnClick event handler for the Button1 component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    MapView: IMapView;
Begin
    MapView := UiMap1.Map.View;
    MapView.UseScrollBars := True;
End Sub Button1OnClick;

After executing the example scroll bars are used for the map.

See also:

IMapView