Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QuickList.SetValue
Sets a value in the list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 4.4 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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:
Set Variable [$list; Value: MBS( "QuickList.New"; "Hello¶World¶Test" )]
Set Variable [$r; Value: MBS( "QuickList.SetValue"; $list; 0; "Element 0" )]
Show Custom Dialog ["List contains"; MBS( "QuickList.GetList"; $list)]
Set Variable[$r; Value: MBS( "QuickList.Free"; $list)]
See also
- List.SetValue
- QuickList.AddValue
- QuickList.Count
- QuickList.Free
- QuickList.GetList
- QuickList.GetValue
- QuickList.HasValue
- QuickList.InsertValue
- QuickList.New
- QuickList.RemoveValue
Created 21st September 2014, last changed 19th August 2020
QuickList.SetList - QuickList.Sort
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos