Examples: Move method (field)


The following example uses positional arguments to change the position of a Customer ID field when the Customer Maintenance window opens:

Private Sub Window_BeforeOpen(OpenVisible As Boolean)
	CustomerID.Move 10, 10, 50, ""
End Sub

The following example uses named arguments to move the left position of the field and change the width of the field:

Private Sub Window_BeforeOpen(OpenVisible As Boolean)
	'Set the left distance and the field width
	CustomerID.Move Left: = 10, Width: = 70
End Sub


Documentation Feedback