GetFormFieldChoiceType

Trường biểu mẫu

Mô tả

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

Cú pháp

Delphi

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

ActiveX

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

DLL

int DLGetFormFieldChoiceType(int InstanceID, int Index);

Tham số

IndexChỉ số của trường biểu mẫu

Giá trị trả về

0Trường biểu mẫu không phải trường kiểu choice
1Trường biểu mẫu là list box cuộn được 2 Trường biểu mẫu là combo box thả xuống 3 Trường biểu mẫu là list box cuộn được nhiều lựa chọn 4 Trường biểu mẫu là combo box thả xuống kèm ô nhập