The width of the panel's scrollable pane.

Usage

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

Values

Value can be any positive or negative whole number:

Default: 0

Remarks

The Width property sets the width, 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 Width of zero indicates that the invisible pane width should be autosized to the width of the SRP Panel itself.

This property is ignored when embedded a form using SetForm.

Example

// Set the width to 500 pixels 
Set_Property(@Window:".OLE_PANEL", "OLE.Width", 500) 

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

See Also

Height

  • No labels