SetFormFieldChoiceType
Form fields
Description
Sets a choice form field to be a combo box or list box.
Syntax
Delphi
function TPDFlib.SetFormFieldChoiceType(Index, ChoiceType: Integer): Integer;ActiveX
Function PDFlib::SetFormFieldChoiceType(Index As Long, ChoiceType As Long) As LongDLL
int DLSetFormFieldChoiceType(int InstanceID, int Index, int ChoiceType);Parameters
| Index | The index of the form field |
|---|---|
| ChoiceType | 1 = Set the form field to be a scrollable list box 2 = Set the form field to be a drop-down combo box 3 = Set the form field to be a multiselect scrollable list box 4 = Set the form field to be a drop-down combo box with edit box |
Return values
| 0 | The field was not changed |
|---|---|
| 1 | The field was changed successfully |