Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:accordionnav [2019/05/08 03:26]
agcyphers [Events]
web:accordionnav [2019/10/23 05:53] (current)
Line 23: Line 23:
 | ExpandAll() | Expands all items. | | ExpandAll() | Expands all items. |
 | ExpandedItems() As Integer | Returns a count of currently expanded items. | | ExpandedItems() As Integer | Returns a count of currently expanded items. |
-| FindItem( ItemText as [[http://​developer.xojo.com/​string|String]] ) as GraffitiWebAccordionNavItem | Searches through the array of child items looking for a caption of ItemText. |+| FindItem( ItemText as String ) as GraffitiWebAccordionNavItem | Searches through the array of child items looking for a caption of ItemText. |
 | GetParent( ofItem as GraffitiWebAccordionNavItem ) as GraffitiWebAccordionNavItem | Returns the parent of the specified item. | | GetParent( ofItem as GraffitiWebAccordionNavItem ) as GraffitiWebAccordionNavItem | Returns the parent of the specified item. |
 | Item(itemIndex as Integer) as GraffitiWebAccordionNavItem | Returns the item at the specified index. | | Item(itemIndex as Integer) as GraffitiWebAccordionNavItem | Returns the item at the specified index. |
Line 29: Line 29:
 | RemoveAll() | Removes all items from the display. | | RemoveAll() | Removes all items from the display. |
 | RemoveAll(fromItem as GraffitiWebAccordionNavItem) | Removes all children of fromItem from the display. | | RemoveAll(fromItem as GraffitiWebAccordionNavItem) | Removes all children of fromItem from the display. |
-| RemoveItem( ItemText as [[http://​developer.xojo.com/​string|String]] ) | Searches through the array of child items to remove the section or item with the matching caption and updates the display. This also removes any children of the specified item. |+| RemoveItem( ItemText as String ) | Searches through the array of child items to remove the section or item with the matching caption and updates the display. This also removes any children of the specified item. |
 | UpdateIcon( theItem as GraffitiWebAccordionNavItem,​ newIcon as String ) | Updated the icon of the specified item. | | UpdateIcon( theItem as GraffitiWebAccordionNavItem,​ newIcon as String ) | Updated the icon of the specified item. |
 | UpdateNotification(theItem as GraffitiWebAccordionNavItem,​ newCount as Integer) | Updates the badge count for the specified item. ''​-1''​ removes the badge. | | UpdateNotification(theItem as GraffitiWebAccordionNavItem,​ newCount as Integer) | Updates the badge count for the specified item. ''​-1''​ removes the badge. |