window .contextmenu .item .add  (  Procedure ,  Text ,  Type ,  Index  )  
                                               
Description :

This instruction adds an item into the context menu.

Parameters :

  • Name of the procedure managing the events.
  • Text to be added.
  • CONTEXTMENU_NORMAL
    CONTEXTMENU_CHECKED
  • This parameter is facultative. If you create many events, it may be easier to call an index rather than a ObjectID. To do so, place each ObjectID into a table and then call the procedure with an index to that table.

Notes :


The procedure managing the events takes only one parameter: the index.

Examples :