Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

DynaPDF.SetFieldFlags

The function sets the flags of a specific interactive form field.

Component Version macOS Windows Linux Server FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.SetFieldFlags"; PDF; Field; Flags; Reset )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
Flags New field flags. You can pass a flag by name 1
Reset Pass 1 to set flags to the ones you passed or pass 0 to add the flag. 1

Result

Returns OK or error.

Description

The function sets the flags of a specific interactive form field.
The parameter Flags is a bit mask, multiple flags can be set by adding the values or use a bitwise Or operator, e.g. Print + Multiline (4096+32 = 4128). If the parameter Reset is 1 the flags of the field are set to the ones specified. If Reset is 0, the flags are added by using a bitwise Or operator.

Possible flag names: ReadOnly, Required, NoExport, Invisible, Hidden, Print, NoZoom, NoRotate, NoView, Multiline, Password, NoToggleToOff, RadioIsUnion, CommitOnSelCh, Edit, Sorted, FileSelect, MultiSelect, DoNotSpellCheck, DoNotScroll or Comb.
See Dynapdf_help.pdf for the meaning of the flags or their numerical value.

See also SetFieldFlags function in DynaPDF manual.

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


DynaPDF.SetFieldExpValueEx   -   DynaPDF.SetFieldFont

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat