WinStudio
Form objects – Sets or returns the measure in character units from the left edge of a form to the left edge of the WinStudio workspace. Read/write.
Component objects – Returns the measure in character units from the left edge of a component to the left edge of the form. Read-only.
object.Left
Part |
Description |
object | Required. A reference to a form or component object. |
object.Left = Double
Part |
Description |
object | Required. A reference to a form or component object. |
Double | Required. Form objects only. An expression that evaluates to a Double and sets the distance in character units from the left edge of the form to the left edge of the WinStudio workspace. |
The return value is a Double that indicates the distance in character units from:
Sub Main() Application.ShowMessage("The left side of this form is currently " & _ ThisForm.Left & " units from the left.") ThisForm.Left = 20 Application.ShowMessage("The left side of this form has been moved to " & _ ThisForm.Left & " units from the left.") End Sub
Sub Main() Application.ShowMessage("The left side of the grid is " & _ ThisForm.Components("grid1").Left & _ " character units from the edge of the form.") End Sub