Occurs while a Box is being moved or resized.
SyntaxVB6
Copy Code
|
|---|
Public Event BoxModifying |
Event DataParameter | Type | Description |
|---|---|---|
box | [input] reference to a box | The box that is being modified. |
docX | [input] long | The mouse x position in document coordinates. |
docY | [input] long | The mouse y position in document coordinates. |
selHandle | [input] long | The index of the selection handle used to modify the box. |
Confirm | [output] boolean | Specifies whether the user should be allowed to drop the box at the current mouse position. |
Dispatch ID: 95
RemarksThis event is raised after each mouse movement while modifying a box. Setting Confirm to false will change the mouse cursor to a Stop icon, or to your custom icon set via SetMouseCursor. The event is raised once again when the mouse button is released. Setting Confirm to false in that case will cancel the modification and return the box to its original position.
The selection handle index is set to 0, 1, 2, 3 if the box is modified via the corner resize handles; 4, 5, 6, 7 for the side center resize handles; 8 for the move handle; 9 for the rotation handle.
See Also