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
| Index | Der Index des Formularfelds |
|---|---|
| ChoiceType | 1 = 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
| 0 | Das Feld wurde nicht geändert |
|---|---|
| 1 | Das Feld wurde erfolgreich geändert |