ComponentOne True DBInput Pro 8.0
MarginLeft Property (TDBText)

 

Reference> TDBText Control> TDBText Control Properties> MarginLeft Property (TDBText)

MarginLeft Property (TDBText)

The MarginLeft property sets and retrieves the margin spacing used on the left side of the control or object. The margin is calculated from the left edge of the control. This will exclude the 3D border.

Syntax

object.MarginLeft= integer

Read/Write at run time and design time.

Values

0 - 32767 (0 is the default)

Remarks

In the Effect object, the MarginLeft property sets or retrieves the margin spacing used at the left area of the object for adjusting the absolute position of the child controls or the 3D effect settings. The container control's margin settings can be adjusted only when the AutoSize property is set to True with a single child control placed within the container. The margin is calculated from the left edge of the control. This will exclude the 3D borders - inner, outer bevel and bevel spacing width.

The text displayed in the control can be aligned horizontally by setting the AlignHorizontal property.

If the value of the MarginLeft and the MarginRight exceeds the control width, the data entry area will become invisible.

Notice that the margin spacing is not used between the two months.

The settings of this property will not have any effect in the drop-down edit window.

See Also

MarginBottom Property (TDBText)

MarginRight Property (TDBText)

MarginTop Property (TDBText)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback