menulist .cursor .set  (  ObjectID ,  ItemIndex ,  Mode  )  
                                     
Description :

This instruction sets the cursor to a specific item in the menu list.

Parameters :

  • ObjectID of the menu list
  • Index number of the item, valid in the range [1, number of items].
  • SEEK_SET (default)
    SEEK_FROM_CURRENT (Seeks from the current item).
    SEEK_FROM_END (Seeks from the last item. The result will be therefore a negative value, such as -10 items)

Examples :