mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2024-09-18 19:54:44 +00:00
Updated List methods (markdown)
parent
39535c809c
commit
96611ee477
1 changed files with 4 additions and 4 deletions
|
@ -6,9 +6,9 @@ Adds a new item to the end of the list.
|
||||||
AddItem ControlID, "Item"
|
AddItem ControlID, "Item"
|
||||||
|
|
||||||
##SUB RemoveItem
|
##SUB RemoveItem
|
||||||
Removes the item specified. An error will be raised if the item is beyond the total number of items.
|
Removes the item specified.
|
||||||
|
|
||||||
RemoveItem ControlID, ItemToRemove%
|
RemoveItem ControlID, ItemIndexToRemove%
|
||||||
|
|
||||||
##SUB ResetList
|
##SUB ResetList
|
||||||
Erases all list items.
|
Erases all list items.
|
||||||
|
@ -18,9 +18,9 @@ Erases all list items.
|
||||||
##SUB ReplaceItem
|
##SUB ReplaceItem
|
||||||
Replaces the text of the specified item with the new one provided.
|
Replaces the text of the specified item with the new one provided.
|
||||||
|
|
||||||
ReplaceItem ControlID, ItemToReplace%, "New item"
|
ReplaceItem ControlID, ItemIndexToReplace%, "New item"
|
||||||
|
|
||||||
##FUNCTION GetItem
|
##FUNCTION GetItem
|
||||||
Returns an item's contents.
|
Returns an item's contents.
|
||||||
|
|
||||||
DesiredItem$ = GetItem$(ControlID, ItemToRead%)
|
DesiredItem$ = GetItem$(ControlID, ItemIndexToRead%)
|
Loading…
Reference in a new issue