Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

BorderDragged Event

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info

Syntax

ControlName_BorderDragged ( bordersChanged, newX, newY, newWidth, newHeight, finalResize)

Applies To

InsertionPalette

Purpose

Occurs when you drag a draggable border of a control. This event provides the location and size to which you must set the control in order for its draggable borders to track the mouse cursor. However, you may choose to modify the location or size to which you set the control. For example, you can limit the width of the control so the control's left edge cannot be dragged off of the visible portion of the window.

In addition to changing the size and position of the control, you can also update the sizes and positions of the other controls on the window to account for the change.

Parameters

bordersChanged As Long

[In] Specifies which borders you dragged. Refer to the WhichBorders constants for more information about draggable borders.

newX As long

[In] Specifies the new x-coordinate for the control.

newY As long

[In] Specifies the new y-coordinate for the control.

newWidth As long

[In] Specifies the new width for the control.

newHeight As long

[In] Specifies the new height for the control.

finalResize As Boolean

[In] Specifies whether the event is the final event for the drag operation you perform.


See Also

Borders

WhichBorders


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit