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

Usage

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

Values

Value can be any positive or negative whole number:

Default: 0

Remarks

The LeftMargin establishes a buffer between the splitter's left most limit and the obstacle to its left. There are two possible obstacles: the left 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 left margin of 50 pixels 
Set_Property(@Window:".OLE_SPLITTER", "OLE.LeftMargin", 50)

See Also

BottomMarginRightMarginTopMargin

  • No labels