DIAdem Help

Method: Move for Text

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

Method: Move for Text

Moves a control in a user dialog box.

Object.Move(X, Y)
ObjectText
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 Text1 text 10 dialog units to the right and 20 dialog units down:

Call Text1.Move(10, 20)