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.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  


Sets a value in the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 4.4 Yes Yes Yes Yes Yes

MBS( "QuickList.SetValue"; ListRef; Index; Text )


Parameter Description Example value
ListRef The reference to the list returned from QuickList.New function. $List
Index The index of the value to get. Must be in range from 0 to QuickList.Count-1. $index
Text The text to add. "Hello"


Returns OK or error.


Sets a value in the list.
If index is equal to count, we append the text to the list.


Tries set value:

Variable setzen [$list; Wert:MBS( "QuickList.New"; "Hello¶World¶Test" )]
Variable setzen [$r; Wert:MBS( "QuickList.SetValue"; $list; 0; "Element 0" )]
Eigenes Dialogfeld anzeigen ["List contains"; MBS( "QuickList.GetList"; $list)]
Variable setzen [$r; Wert:MBS( "QuickList.Free"; $list)]

See also

Created 21st September 2014, last changed 19th March 2016

QuickList.SetList   -   QuickList.Sort

Feedback: Report problem or ask question.

MBS Xojo blog