MapBox

Description

The MapBox class implements the MapBox development environment component that is used for displaying of maps.

Class object properties inherited from IMapBox

  Property name Brief description
BorderStyle The BorderStyle property determines the style of component border.
Source The Source property determines the component data source.

Events inherited from IControl

  Property name Brief description
The Align property determines component alignment within its parent component.
The AllowDrag property determines whether an object can be dragged from the component.
The AllowDrop property determines whether a component can accept a dragged object.
The Anchors property returns settings determining % of the size change for the current component when the parent component is resized.
The Brush property determines the brush used to fill the component area.
The ClientHeight property determines the height of the client component area.
The ClientWidth property determines the width of the client component area.
The Color property determines the background color of a component.
The Cursor property determines how the cursor looks like when it is hovered over a component at the form runtime.
The Enabled property determines whether the component is available for the user.
The Focused property returns True if the focus is set to the component.
The Font property determines the parameters of the font used to display text in a component.
The Height property determines the component height (pixels).
The HelpContext property determines a unique index for the context help section for this component.
The Hint property determines the tip text displayed if the pointer is hovered over a component.
The HintTimeout determines the time for which the tooltip is displayed.
The Left property determines the coordinate of the component left edge (pixels).
The Parent property determines the parent component.
The ParentColor property determines whether a component inherits the color of the parent component.
The ParentFont property determines whether the component should use the font of the parent component.
The ParentShowHint property determines when a tooltip is displayed.
The PopupMenu property determines the context menu displayed when the component is clicked using the right mouse button.
The Scrolls property returns parameters of component's scroll bars.
The ShowHint property determines whether a tool tip should be displayed when the mouse hovers over a component.
The TabOrder property determines the component position in the tab order.
The TabStop property determines whether the focus is set to a component when the Tab button is pressed.
The Text property determines the row identifying the component for the user.
The Top property determines the coordinate of the component upper edge (pixels).
The Visible property determines whether a component is displayed at the form runtime.
The Width property determines column width in pixels.

Properties inherited from IComponent

  Property name Brief description
The ComponentCount property returns the number of child components located on the parent component.
The Components property returns a child component, which index is passed via the input parameter.
The Data property is used to store any user data.
The Name property determines a component name.
The Tag property is not used with compiler. The user can change the value of the Tag property and use it as required.

Events inherited from IControl

  Method name Brief description
The ClientToScreen method converts the coordinates of a point specified relative to the component coordinate system to screen coordinates.
The DoDragDrop method enables the user to start dragging.
The GetImage method returns a graphic presentation of a component together with all child components.
The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system.
The SetFocus method sets focus to this component.

Events

  Event name Brief description
OnTerritoryClick The OnTerritoryClick event occurs when clicking on any map area with the mouse button.

Events inherited from IControl

   Event name Brief description
The OnBeginDrag event occurs for a component, when the user starts to drag an object from the component.
The OnClick event occurs if the user clicks the component area.
The OnControlMove event occurs when a component is moved.
The OnControlResize event occurs when a component is resized.
The OnDblClick event occurs if the user double-clicks the component area.
The OnDragDrop event occurs for a component if the user drops a dragged object over it.
The OnDragEnter event occurs when a dragged object enters the component area.
The OnDragLeave event occurs when a dragged object leaves the borders of this component.
The OnDragOver event occurs for this component when the user drags a dragged object over it.
The OnEnter event occurs when a component receives focus.
The OnExit event occurs when a component loses focus.
The OnHScroll event occurs when horizontal scroll bar slider changes its position.
The OnKeyDown event occurs if the component is focused and a keyboard key is pressed.
The OnKeyPress event occurs if a component is focused when the user presses a character key.
The OnKeyPreview event occurs prior to each event requiring clicking.
The OnKeyUp event occurs if a component is focused and the user releases any button previously pressed.
The OnMouseDown event occurs when the pointer is in component area and a mouse button is pressed.
The OnMouseEnter event occurs when mouse cursor enters the component area.
The OnMouseHover event occurs when mouse cursor is held in the component area.
The OnMouseLeave event occurs when mouse cursor leaves the component area.
The OnMouseMove event occurs on moving the cursor over component.
The OnMouseUp event occurs on releasing mouse button when the pointer is in component area.
The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated.
The OnVScroll event occurs when position of vertical scroll bar slider is changed.

See also:

Map Assembly Classes