Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Changes the state of a check box.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetCheckBoxState"; PDF; Field; Value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
Value The new check value.


Returns OK or error.


Changes the state of a check box.
The parameter Field must be a valid check box handle.

You may need to check what sub fields your checkbox or radio buttons have, as they may have multiple sub fields.

See also SetCheckBoxState function in DynaPDF manual.


Set checkbox for field 20:

Set Variable [ $r ; Value: MBS( "DynaPDF.SetCheckBoxState"; $pdf; 20; 1 ) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 5th November 2014, last changed 22nd September 2022

DynaPDF.SetCheckBoxDefState - DynaPDF.SetColorSpace