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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

DynaPDF.SetFieldExpValueEx

Marks a choice value of a combo or list box as selected or unselected.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetFieldExpValueEx"; PDF; Field; ValIndex; Selected; DefSelected )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
ValIndex The value index. 0
Selected The new state. Pass 1 to set or 0 to clear. 0
DefSelected New default state. 0

Result

Returns OK or error.

Description

Marks a choice value of a combo or list box as selected or unselected.
It can also be used to change the state of check boxes or the children of a radio button. The parameter ValIndex will be ignored if the field is a normal check box (no child of a radio button or field group).
To enumerate the choice values of a combo box, list box or radio button use the function DynaPDF.GetFieldExpValueEx.

See also SetFieldExpValueEx function in DynaPDF manual.

See also

Created 18th August 2014, last changed 5th March 2021


DynaPDF.SetFieldExpValue - DynaPDF.SetFieldFlags

Feedback: Report problem or ask question.