Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.GetFieldExpValueEx

Enumerates the choice values of a combo box, list box, or radio button.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetFieldExpValueEx"; PDF; Field; ValIndex; Selector )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
ValIndex The value index. 0
Selector Which value to get. Can be Value, Selected or ExpValue. "Value"

Result

Returns OK on success or error on failure.

Description

Enumerates the choice values of a combo box, list box, or radio button.
If the field is a check box, the parameter ValIndex will be ignored and the export value and selectedstate are returned.
To enumerate the choice values of a combo box or list box call GetFieldExpValCount() to determine the number of available values. The parameter ValIndex can then be used to access each value / export value pair within the array.
Beginning with PDF 1.5 choice values of combo and list boxes can be in Unicode format. Because Unicode strings are not supported by this function the function DynaPDF.GetFieldChoiceValue should be used to enumerate choice values of these field types.
The parameters Value, ExpValue, and Selected require variables so that the values can be set by the function. To change a choice value of a combo box or list box call the function DynaPDF.SetFieldExpValue.

See also GetFieldExpValueEx function in DynaPDF manual.

See also


DynaPDF.GetFieldExpValue   -   DynaPDF.GetFieldFlags

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins