ListBox.TopIndex Property

Outlook Forms Script Reference

Returns or sets a Long that represents the index of the list item displayed in the topmost position in the list. Read/write.

Syntax

expression.TopIndex

expression   A variable that represents a ListBox object.

Remarks

The default is 0, which identifies the first item in the list.

Returns the value –1 if the list is empty or not displayed.

See Also