ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem Help

Method: Move for TaskPanel

  • Updated2024-09-12
  • 2 minute(s) read

Method: Move for TaskPanel

Moves a control in a user dialog box.

Object.Move(X, Y)
ObjectTaskPanel
Object with this method
XLongInteger
Specifies a horizontal move in dialog units.
A positive value moves the control to the right and a negative value moves the control to the left.
YLongInteger
Specifies a vertical move in dialog units.
A positive value moves the control down and a negative value moves the control up.

The following example moves the TaskPanel1 control 10 dialog units to the right and 20 dialog units down:

Call TaskPanel1.Move(10, 20)