User Tools

Site Tools


prop_textrightmargin.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:TextRightMargin ====== Previous pageReturn to chapter overviewNext page

?control{PROP:TextRightMargin} = n

n = ?control{PROP:TextRightMargin}

READ/WRITE property that controls the non-displayable right margin for ENTRY, SPIN, COMBO, TEXT, RTF controls and for drop-down list-boxes. Useful when working with large fonts.

n is an integer constant or expression greater or equal to 0. It is equal to the left margin in the current measurement units of the WINDOW or REPORT owning the ?control control.

Negative values are treated as follows:

-1 - the runtime library uses the Windows default margin value which is dependent on the control's font.

With all other negative values - the RTL uses the C7 default margin value which is very close to Windows default value but takes into account some additional information about the control type.

Example:

?Entry{PROP:TextLeftMargin} = 2

?Entry{PROP:TextRightMargin} = 2

See also: PROP:TextLeftMargin

prop_textrightmargin.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1