SetFormFieldCalcOrder
Form fields
Description
Sets or changes the calculation order for form fields.
Syntax
Delphi
function TPDFlib.SetFormFieldCalcOrder(Index, Order: Integer): Integer;ActiveX
Function PDFlib::SetFormFieldCalcOrder(Index As Long, Order As Long) As LongDLL
int DLSetFormFieldCalcOrder(int InstanceID, int Index, int Order);Parameters
| Index | The index of the form field to add to the list of calculated field |
|---|---|
| Order | The order this field should be calculated in. A value of 0 means this field is the first field to be calculated. A value of 1 means this field is the second field to be calculated. Use a value of -1 to specify this field should be calculated last out of the fields which have already been added to the calculation order list. |
Return values
| 0 | The specified form field could not be found |
|---|---|
| 1 | The specified form field was added to the calculation order list, or moved to the new position if it was already in the list |