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  

QuickList.SetValue

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 )

Parameters

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"

Result

Returns OK or error.

Description

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

Examples

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.




Links
MBS Xojo Plugins