GetFormFieldReadOnly
Form fields
Description
Returns the state of a field's ReadOnly flag.
The user cannot change the value of a form field if the ReadOnly flag is set.
Syntax
Delphi
Function TPDFlib.GetFormFieldReadOnly(Index: Integer): Integer;
ActiveX
Function PDFlib::GetFormFieldReadOnly(Index As Long) As Long
DLL
int DLGetFormFieldReadOnly(int InstanceID, int Index);
Parameters
| Index | The index of the form field |
|---|
Return values
| 0 | The field's ReadOnly flag is not set |
|---|---|
| 1 | The field's ReadOnly flag is set |