horizontalScrollMode

Defines the scroll mode in horizontal direction.

Synopsis

shape.horizontalScrollMode(string tFormat);

Parameter

Parameter Description
shape Name of the object.
tFormat

Scroll mode

  • ScrollPerPixel

  • ScrollPerItem

Description

Defines the scroll mode in horizontal direction.

Example

main(bool enter)
{
  this.horizontalScrollMode = "ScrollPerItem";
}

Assignment

DpTreeView, DptypeView, Tree Widget