UseScrollBars: Boolean;
UseScrollBars: boolean;
The UseScrollBars property determines whether scroll bars are used.
The property is relevant only on working with forms.
Available values:
True. Scroll bars are used.
False. Scroll bars are not used.
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.
Executing the example requires a form containing the Button component with the button1 identifier, the MapBoxNet component with the mapBoxNet1 identifier and the UiMapNet component with the uiMapNet1 identifier. Specify the uiMapNet1 data source for the mapBoxNet1 component, the data source must be set to display legend on the map.
The example is the Click event handler for the button1 component.
Imports Prognoz.Platform.Interop.Map;
…
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
MapView: IMapView;
Begin
MapView := uiMapNet1.Map.View;
MapView.UseScrollBars := True;
End Sub;
The result of Fore.NET example execution matches with that in the Fore example.
See also: