Differences

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

Link to this comparison view

Both sides previous revision Previous revision
web:contextmenu [2020/07/19 04:29]
agcyphers [Methods]
web:contextmenu [2020/07/19 04:33] (current)
agcyphers [Methods]
Line 39: Line 39:
 | MenuByName | menuName as String | GraffitiWebContextMenuItem | Returns the first GraffitiWebContextMenu currently managed by the component instance with the specified name. | | MenuByName | menuName as String | GraffitiWebContextMenuItem | Returns the first GraffitiWebContextMenu currently managed by the component instance with the specified name. |
 | MenuLastIndex|  | Integer | Returns the maximum index of items managed by this instance. | | MenuLastIndex|  | Integer | Returns the maximum index of items managed by this instance. |
-| ShowMenu | MenuID as String |  | Shows the menu with the specified ID, at the specified coordinates.  If both are -1, will show at cursor. |+| ShowMenu | theMenu as GraffitiWebContextMenuItem |  | Shows the specified menu, at the specified coordinates.  If both are -1, will show at cursor. |
 | ::: | X as Integer = -1 |  ::: | ::: | | ::: | X as Integer = -1 |  ::: | ::: |
 | ::: | Y as Integer = -1 | ::: | ::: | | ::: | Y as Integer = -1 | ::: | ::: |
Line 45: Line 45:
 | ::: | X as Integer = -1 | ::: | ::: | | ::: | X as Integer = -1 | ::: | ::: |
 | ::: | Y as Integer = -1 | ::: | ::: | | ::: | Y as Integer = -1 | ::: | ::: |
 +| Unbind | toolbarItem as GraffitiWebToolbarItem | | Removes the menu from the specified GraffitiWebToolbarItem |
 | Unbind | theControl as WebControl |  | Removes the menu from the specified WebControl | | Unbind | theControl as WebControl |  | Removes the menu from the specified WebControl |