GetFormFieldChoiceType

Form fields

Description

Determines whether a choice form field is a combo box or list box field.

Syntax

Delphi

function TPDFlib.GetFormFieldChoiceType(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldChoiceType(Index As Long) As Long

DLL

int DLGetFormFieldChoiceType(int InstanceID, int Index);

Parameters

IndexThe index of the form field

Return values

0The form field is not a choice form field
1The form field is a scrollable list box 2 The form field is a drop-down combo box 3 The form field is a multiselect scrollable list box 4 The form field is a drop-down combo box with an edit box