property Dialog.HCaptionOffset as Long
Retrieves or sets a value that indicates the horizontally offset of the agent's caption.

TypeDescription
Long A long expression that specifies the horizontal offset of the control's caption.
By default, the HCaptionOffset property is 0. The HCaptionOffset property defines the horizontal offset of the control's caption. Use the Caption property to specify the control's caption. The VCaptionOffset property defines the vertical offset of the control's caption.  The Caption of the control uses the BorderLeft, BorderTop, BorderRight and BorderBottom properties to define the rectangle where it is painted. The Font property defines the font used to paint the caption. The ForeColor property specifies the caption's foreground color. Use the Alignment property to align the control's caption. Use the CaptionFormat property to specify the way how text is displayed. The VAlignment property defines the vertical alignment for the control's caption.