ComponentOne True DBInput Pro 8.0
MarginTop Property (TDBMask)

 

Reference> TDBMask Control> TDBMask Control Properties> MarginTop Property (TDBMask)

MarginTop Property (TDBMask)

The MarginTop property sets and retrieves the margin spacing used on the top side of the control; no calendar drawing be done in this area. The margin is calculated from the top edge of the control. This will exclude the 3D border.

Syntax

object.MarginTop= integer

Read/Write at run time and design time.

Values

0 - 32767 (0 is the default)

Remarks

In the Effect object, the MarginTop property sets or retrieves the margin spacing used at the top 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 top 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 vertically by setting the AlignVertical property.

If the value of the MarginTop and the MarginBottom exceeds the control height, 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 take effect in the drop-down edit window.

See Also

MarginBottom Property (TDBMask)

MarginLeft Property (TDBMask)

MarginRight Property (TDBMask)

 

 


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

Product Support Forum  |  Documentation Feedback