The splitter's operational orientation.

Usage

Set_Property(OLECtrlEntID, "OLE.Orientation", OptionValue)

Values

OptionValue can be set to one of the following valid options:

ValueAbbr.Description
VerticalVEstablishes a vertical splitter that can be dragged left or right.
HorizontalHEstablishes a horizontal splitter that can be dragged up or down.

Default: Vertical

Remarks

The Orientation property determines how the splinter interacts with the user. The default value, Vertical, puts the splitter into vertical splitter mode. In this mode, the user sees an east-west resize cursor when hovering over the splitter and can click and drag the splitter left or right. In Horizontal mode, the user sees a north-south cursor and can drag the splitter up or down.

This property does not affect the size of the control. It is entirely up to you, the developer, to size the control in such a way that it makes sense with the Orientation you've selected.

Example

// Make this a horizontal behaving splitter bar 
Set_Property(@Window:".OLE_SPLITTER", "OLE.Orientation", "Horizontal")
  • No labels