The space between the splitter's top limit and the obstacle above it.

Usage

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

Values

Value can be any positive or negative whole number:

Default: 0

Remarks

The TopMargin establishes a buffer between the splitter's top most limit and the obstacle above the splitter. There are two possible obstacles: the top 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 Horizontal.

Example

// Set the top margin to 100 pixels 
Set_Property(@Window:".OLE_SPLITTER", "OLE.TopMargin", 100)

See Also

BottomMarginLeftMarginRightMargin

  • No labels