SetFormFieldComb
Form fields
Description
Marks a form field as a comb field, where each character in the value occupies the same space in the field. The field must be a test field, and the SetFormFieldMaxLen function must be called to specify the number of characters in the field.
Syntax
Delphi
Function TPDFlib.SetFormFieldComb(Index, Comb: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldComb(Index As Long, Comb As Long) As Long
DLL
int DLSetFormFieldComb(int InstanceID, int Index, int Comb);
Parameters
| Index | The index of the form field |
|---|---|
| Comb | 0 = Regular field 1 = Comb field |
Return values
Returns 1 when the comb flag was updated. Returns 0 when Index does not identify a form field.