Property Integer Label_Row_Offset
Read Access: | Get Label_Row_Offset to IntegerVariable |
Write Access: | Set Label_Row_Offset to IntegerVariable/Value |
Label_Row_Offset is the vertical distance from the top edge of the object and its label. If the label's justification-mode is jmode_top it represents the vertical distance from the top edge of this object to the bottom edge of its label and larger numbers moves the label up (and away from the object). If the mode is not top it represents the distance from the top edge of the object and the top edge of the label and larger numbers moves the label down. By default, this is zero which is suitable for both form and side labels.
The height of a ComboForm (or dbComboForm) is more or less fixed by Windows, so you could technically set the height to be anything and the combo form itself would look the same. e.g.
Set Size to 13 95 Set Size to 60 95
The two lines of code above would produce a combo form that looks identical.
However, the Label (Label_Object) of a combo form is positioned to be centered with the height, so we recommend keeping the height always at 13 for consistent label height centering.
If you must set a different height, you can set the Label_Row_Offset to determine the label's vertical location.
Set Label_Row_Offset to 1
Default is 0.