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ヘルプ

Method: Move for ChnListBox

  • 更新日2024-09-12
  • 5分で読める

Method: Move for ChnListBox

Moves a control in a user dialog box.

Object.Move(X, Y)
ObjectChnListBox
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 ChnListBox1 channel selection list 10 dialog units to the right and 20 dialog units down:

Call ChnListBox1.Move(10, 20)