Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Sets a value in the list.

Component: List
Version: 4.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: 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

QuickList.SetList   -   QuickList.Sort

Feedback: Report problem or ask question.

MBS Real Studio PDF Plugins - Nachhilfe in Kruft