Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Retrieves a choice value of a combo or list box.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.GetFieldChoiceValue"; PDF; Field; ValIndex; Selector )   More


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 return. Can be ExpValue, ExpValueLen, Value, ValueLen or Selected. "Value"


Returns value or error.


Retrieves a choice value of a combo or list box.
The parameter Field must be a valid handle of a combo or list box. ValIndex is the array index of the choice value to be retrieved. Call DynaPDF.GetFieldExpValCount to determine how many choice values are available in the combo or list box.
Choice values can be inherited from a parent group field. This is the case if the field is part of a field group. See "Interactive Forms/What is a Field Group?" Section in DynaPDF help file for further information.

See also GetFieldChoiceValue function in DynaPDF manual.

See also

Created 18th August 2014, last changed 27th May 2017

DynaPDF.GetFieldBorderWidth   -   DynaPDF.GetFieldColor

Feedback: Report problem or ask question.

MBS Xojo Plugins