The offset of an item relative to its parent.

 

Usage

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

Values

Value can be any positive or negative whole number:

Default: 20

Remarks

The Indent property can be used to increase or decrease the number of pixels that an item is offset to the right relative to its parent. To be specific, the Indent is the number of pixels from the beginning of an item's parent to the beginning of the item itself. The default indent is 20 pixels, but you can customize this value to increase or decrease the overall width of your tree control.


 

Use this property with caution since very small or very large values for this property will make the tree control difficult to use.

HINT: The SRP Tree Control scrolls horizontally 5 pixels at a time, so set this property to multiples of 5 for best results.

Example

// Increase the indent 
Set_Property(@Window:".OLE_TREE", "OLE.Indent", 25)
  • No labels