TTMSFNCBloxNavigator Class
A thumbnail overview control that displays a scaled-down view of an associated diagram control and lets the user scroll and zoom that diagram by dragging inside the overview.
API unit family: TMSFNCBloxNavigator
Inherits from: TTMSFNCCustomControl
Syntax
TTMSFNCBloxNavigator = class(TTMSFNCCustomControl)
Remarks
Link the navigator to a diagram control through BloxControl. The navigator draws the full diagram, highlights the currently visible region, and updates the linked control as the highlighted region is dragged or resized.
Properties
| Name | Description |
|---|---|
| BackgroundColor | The color used to fill the area behind the scaled-down diagram in the overview. |
| BlockShape | Selects whether blocks are drawn with their original shape or as plain rectangles in the overview. |
| BloxControl | The diagram control the navigator previews and controls. Assigning it links the overview to that control's content and visible region. |
| Color | The color used to fill the navigator surface around the scaled-down diagram region. |
| EnableZoom | Allows the user to change the linked control's zoom by dragging the border of the highlighted visible-area rectangle. |
| HighlightColor | The color of the rectangle that highlights the currently visible region of the diagram. |
| HighlightWidth | The pen width, in pixels, used to draw the visible-area highlight rectangle. |
| MoveCursor | The cursor shown while the pointer is over the highlight interior, where dragging scrolls the linked control. |
| PaintLines | Determines whether connecting lines between blocks are drawn in the overview. |
| ZoomCursor | The cursor shown while the pointer is over the highlight border, where dragging changes the zoom level. |