Fires when the user scrolls the tree vertically.

Parameters

ParameterDescription
TopItemThe new top item

Remarks

The OnVScroll event fires when the user scrolls the tree control whether by navigating with the keyboard or by moving the scroll bar. The TopItem parameter is the key to the new item at the top of the tree. Its value is the same as the TopItem property.

Example

Transfer Param1 to TopItem 

// Synchronize scrolling with another tree 
Set_Property(@Window:".OLE_TREE_OTHER", "OLE.TopItem", TopItem)

See Also

TopItem

  • No labels