TTMSFNCBloxInteraction Class
Groups the end-user interaction settings of a diagram surface, such as selection behavior, zooming, read-only mode, and keyboard actions.
API unit family: TMSFNCBloxControl
Inherits from: TPersistent
Syntax
TTMSFNCBloxInteraction = class(TPersistent)
Remarks
An instance is owned by the diagram control and exposed through its Interaction property. Most settings are stored on the underlying presenter, so changes take effect immediately on the surface.
Properties
| Name | Description |
|---|---|
| CanMoveOutOfBounds | Indicates whether elements may be moved outside the visible canvas bounds. |
| ChangeTextWithDoubleClick | Indicates whether double-clicking an element starts editing its text. |
| KeyActions | Defines which keyboard actions are enabled on the surface, such as moving, resizing, paging, selecting, and deleting elements. |
| ReadOnly | Indicates whether the surface is read-only. |
| SelectionMode | Controls how clicking and rubber-band selection select elements and groups on the surface. |
| TouchElementHandling | Indicates whether touch gestures may move, resize, and rotate elements directly. |
| Zooming | Indicates whether the end user may zoom the surface, for example with Ctrl and the mouse wheel. |