"autoScrollMargin"

Sets the size of the area in pixel where auto scrolling is triggered.

Synopsis

shape.autoScrollMargin(int area);

Parameter

Parameter Description
shape Name of the object
area area in pixel

Description

This property sets the size of the area at the edge of the viewport that triggers autoscrolling. The default value is 16 pixels.

EXAMPLE

main()
{
  TREE1.autoScrollMargin(10);
}

Assignment

Tree widget