SetFormFieldChoiceType

Formularfelder

Beschreibung

Legt ein Auswahlformularfeld als Kombinationsfeld oder Listenfeld fest.

Syntax

Delphi

Function TPDFlib.SetFormFieldChoiceType(Index, ChoiceType: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldChoiceType(Index As Long, ChoiceType As Long) As Long

DLL

int DLSetFormFieldChoiceType(int InstanceID, int Index, int ChoiceType);

Parameter

IndexDer Index des Formularfelds
ChoiceType1 = Formularfeld als scrollbares Listenfeld festlegen 2 = Formularfeld als Dropdown-Kombinationsfeld festlegen 3 = Formularfeld als scrollbares Mehrfachauswahl-Listenfeld festlegen 4 = Formularfeld als Dropdown-Kombinationsfeld mit Eingabefeld festlegen

Rückgabewerte

0Das Feld wurde nicht geändert
1Das Feld wurde erfolgreich geändert