gui.ensureListItemVisible

Scrolls to a list item.

Prototype

  1. bOk = gui.ensureListItemVisible ( hComponent, hListItem, [kTextAlignment] )

Description

Will scroll to the list to this item to make it visible. Not to be confused with the (in)visibility flag.


Parameters

hComponent - valid GUI component handle
hListItem - valid list item handle
[kTextAlignment] - optional alignment constant


Return values

bOk - true on success


Available since ShiVa 2.0