TopIndex Property

Gets a value that determines which item in a ListBox control is displayed in the top-most position. Available at run-time only.

object.TopIndex = [integer]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and integer is the index of the top-most item in the list when the user has scrolled the list.

Use

This property is useful if you want to determine what items are visible at any point in time. Remember that the list items collection is a zero-based index.

See Also

ItemData property | List property | ListCount property | ListIndex property | NewIndex property | Sorted property

Applies To

List box control


© 2004-2021 looksoftware. All rights reserved.