1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2024-09-16 19:03:54 +00:00

Updated List methods (markdown)

FellippeHeitor 2017-01-13 09:17:27 -03:00
parent 39535c809c
commit 96611ee477

@ -6,9 +6,9 @@ Adds a new item to the end of the list.
AddItem ControlID, "Item"
##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
Erases all list items.
@ -18,9 +18,9 @@ Erases all list items.
##SUB ReplaceItem
Replaces the text of the specified item with the new one provided.
ReplaceItem ControlID, ItemToReplace%, "New item"
ReplaceItem ControlID, ItemIndexToReplace%, "New item"
##FUNCTION GetItem
Returns an item's contents.
DesiredItem$ = GetItem$(ControlID, ItemToRead%)
DesiredItem$ = GetItem$(ControlID, ItemIndexToRead%)