SetFormFieldReadOnly
Campos de formulário
Descrição
Define o estado da flag ReadOnly de um campo
O usuário não pode alterar o valor de um campo de formulário se o flag ReadOnly estiver definido
Sintaxe
Delphi
Function TPDFlib.SetFormFieldReadOnly(Index, ReadOnly: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldReadOnly(Index As Long, ReadOnly As Long) As Long
DLL
int DLSetFormFieldReadOnly(int InstanceID, int Index, int ReadOnly);
Parâmetros
| Index | The index of the form field |
|---|---|
| ReadOnly | 0 = Clear the field's ReadOnly flag 1 = Set the field's ReadOnly flag |
Valores retornados
| 0 | Could not find the specified form field |
|---|---|
| 1 | The ReadOnly flag was set successfully |