The space between the splitter's right limit and the obstacle to its right.

Usage

Set_Property(OLECtrlEntID, "OLE.RightMargin", Value)

Values

Value can be any positive or negative whole number:

Default: 0

Remarks

The RightMargin establishes a buffer between the splitter's right most limit and the obstacle to its right. There are two possible obstacles: the right edge of the form or another splitter bar. When set to zero, which is the default, the splitter can be dragged all the way to the obstacle. If for instance you set this to 100, then the user can only drag up to 100 pixels away from the obstacle.

This property only pertains to splitters whose Orientation is Vertical.

Example

// Set a right margin of 50 pixels 
Set_Property(@Window:".OLE_SPLITTER", "OLE.RightMargin", 50)

See Also

BottomMarginLeftMarginTopMargin

  • No labels