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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

DynaPDF.CreateCheckBox

This function creates a check box.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.CreateCheckBox"; PDF; Name; ExpValue; Checked; Parent; PosX; PosY; Width; Height )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Name Name of the text field "IsMale"
ExpValue Export value (required) "IsMale"
Checked If 1, the check box appears checked. Else pass 0 for unchecked. 0
Parent Parent group field if any or -1. -1
PosX X-Coordinate of the text field. 100
PosY Y-Coordinate of the text field. 100
Width Width of the text field. 100
Height Height of the text field. 20

Result

Returns field handle or error.

Description

This function creates a check box.
See CreateCheckBox function in dynapdf_help.pdf for details.

See also CreateCheckBox function in DynaPDF manual.

Examples

Create a check box:

Set Variable [ $r ; Value: MBS("DynaPDF.CreateCheckBox"; $pdf; "Check1"; "Ja"; 0; -1; 156; 148-14; 14; 14) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 29th October 2020


DynaPDF.CreateButton - DynaPDF.CreateComboBox

💬 Ask a question or report a problem