Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 986 Bytes

topindex-property.md

File metadata and controls

39 lines (27 loc) · 986 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
TopIndex property (Microsoft Forms)
fm20.chm5225107
fm20.chm5225107
Office.TopIndex
fc4866ba-ee1c-ddd5-cf3d-562792cf97d9
11/16/2018
medium

TopIndex property

Sets and returns the item that appears in the topmost position in the list.

Syntax

object.TopIndex [= Variant ]

The TopIndex property syntax has these parts:

Part Description
object Required. A valid object.
Variant Optional. The number of the list item that is displayed in the topmost position. The default is 0, or the first item in the list.

Settings

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

See also

[!includeSupport and feedback]