Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
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
- DynaPDF.GetField
- DynaPDF.GetFieldExpValCount
- DynaPDF.GetFieldExpValue
- DynaPDF.GetFieldExpValueEx
- DynaPDF.New
- DynaPDF.SetFieldExpValue
- DynaPDF.SetTextFieldValueEx
This function checks for a license.
Created 18th August 2014, last changed 5th March 2021
