GetFormFieldChoiceTopIndex

Form fields

Description

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

The PDF default is zero when /TI is absent

Syntax

Delphi

Function GetFormFieldChoiceTopIndex(Index: Integer): Integer;

Return value

Returns the top visible index or -1 when the field is invalid, is not a Choice field or is a combo box