SetXFAFormFieldAccessA

Campos de formulário

Descrição

O A final indica o ponto de entrada DLL ANSI (char); a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de SetXFAFormFieldAccess e os argumentos string são interpretados usando a página de código atual de SetAnsiMode

Sets the access flags of the specified XFA form field. The field name may be a relative template path or a standard template SOM path that starts with $template or xfa.template.

Sintaxe

Delphi

Function DLSetXFAFormFieldAccessA(InstanceID: Integer; XFAFieldName: PAnsiChar; NewAccess: Integer): Integer;

DLL

int DLSetXFAFormFieldAccessA(int InstanceID, const char * XFAFieldName, int NewAccess);

Parâmetros

XFAFieldNameThe XFA template field name to work with; accepts dot-based SOM paths, slash-delimited paths returned by GetXFAFormFieldNames or GetXFAFormFieldName, and $template/... roots; slash-delimited paths preserve literal periods, and dot-delimited SOM paths accept escaped periods such as Line\.Item
NewAccess1 = Non interactive 2 = Open 3 = Protected 4 = Read only