SetFormFieldChoiceType
Version history
This function was introduced in Quick PDF Library version 7.24.
Description
Sets a choice form field to be a combo box or list box.
Syntax
Delphi
function TQuickPDF0815.SetFormFieldChoiceType(Index, ChoiceType: Integer): Integer;
ActiveX
Function QuickPDF0815.PDFLibrary::SetFormFieldChoiceType(Index As Long,
ChoiceType As Long) As Long
DLL
int QuickPDFSetFormFieldChoiceType(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 |