Click or drag to resize

RichEdit.Margin Method

X#
Set the margins for the currently selected text in the rich edit control.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Margin(
	nStart,
	nRight,
	nOffset
) AS USUAL CLIPPER
Request Example View Source

Parameters

nStart (Optional)
Type: Usual
Integer representing the indentation of the first line in the paragraph.
nRight (Optional)
Type: Usual
Integer representing the right margin of the paragraph.
nOffset (Optional)
Type: Usual
Integer representing the indentation of the second line and subsequent lines, relative to nStart. If this value is positive, a hanging indent is created (first line is 'outdented' and the subsequent lines are indented). If this value is negative, the first line is indented and the subsequent lines are outdented.

Return Value

Type: Usual
TRUE, if successful; otherwise FALSE.
Remarks
This method is equivalent to setting the RichEdit:PrimaryIndent, RichEdit:RightMargin, and RichEdit:SecondaryIndent properties.
See Also