Returns or sets the distance between the internal left edge of an object and the left edge of its containing object.
Object.Left [ = fLeft ]
The Left property syntax has the following parts:
Name |
Type |
Description |
Object |
Object |
An object |
fLeft |
Float |
A number specifying the distance between the internal left edge of an object and the left edge of its containing object. |
The following table describes how the Left property is used:
Object |
Description |
Controls |
The Left property is measured in the scale units of the control's container. If the scale units are not defined, the default is pixels. |
AForm |
The Left property is measured in the scale units of the ScaleMode property and includes the borders and titlebar. If the scale units are not defined, the default is pixels. |
AAxis |
The Left property is measured in the scale units of the AChart object. If the scale units are not defined, the default is pixels. |
AThumb |
The Left property is measured in the scale units of the ASlider object. If the scale units are not defined, the default is pixels. |
Use the Height, Width, Left, and Top properties for operations or calculations based on an object's total area, such as sizing or moving the object. Use the ScaleLeft, ScaleTop, ScaleHeight, and ScaleWidth properties for operations or calculations based on an object's internal area, such as drawing or moving objects within another object.
The following statement changes the AButton's Left so the button is 34 units from the left edge of the form:
btn1.Left=34
All controls that can be visible at run time and the following classes: