Parameter | Description |
---|---|
sId | Unique identifier of the menu item that needs to be updated |
bOverwriteSubItems | If True, the sub items of the menu item will be replaced with the children of the NewItem struct |
NewItem | Contents of the new menu item |
Procedure UpdateItem String sId Boolean bOverwriteSubItems tWebMenuItem NewItem
Call: | Send UpdateItem sId bOverwriteSubItems NewItem |
Updates a specific dynamic menu item with the menu item passed as a struct.
This method should be used to manually sync checked states when defining cWebMenuItemCheckbox items, since pbChecked is unavailable when using OnDefineMenu.
See Also