SetFormFieldChoiceTopIndex

Form fields

Description

Sets the zero-based index of the first visible option in a Choice list box

Syntax

Delphi

Function SetFormFieldChoiceTopIndex(Index, TopIndex: Integer): Integer;

Parameters

TopIndex must identify an existing option, or be zero when the list is empty

Return value

Returns 1 on success or 0 when the field is invalid, is not a list box or the index is out of range