The height of the panel's scrollable pane.

Usage

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

Values

Value can be any positive or negative whole number:

Default: 0

Remarks

The Height property sets the height, in pixels, of the scrollable pane inside the SRP Panel Control.

Imagine an invisible form inside the SRP Panel control. That invisible form has dimensions which affect the size and position of the controls inside it. It is up to you to make sure the dimensions are sufficient to contain the controls you add.

A Height of zero indicates that the invisible pane height should be autosized to the height of the SRP Panel itself.

This property is ignored when embedded a form using SetForm.

Example

// Set the height to 1000 pixels 
Set_Property(@Window:".OLE_PANEL", "OLE.Height", 1000) 

// Set the height to be the same as the panel's height 
Set_Property(@Window:".OLE_PANEL", "OLE.Height", 0)

See Also

Width

  • No labels