Navigation

  • index
  • next |
  • previous |
  • Sculptor Reference Guide 6.3.10 documentation »
  • Windows and window objects »
  • Menus »
  • Menu item events and functions

Menu item events and functions¶

Contents

  • Menu item events and functions

    • Select function

    • Help function

Select function¶

select = func_id

The function to be called if this item is selected. The function is called as follows:

func_id(EV_MENU, item_id)

A select function should only be specified if the item has no subitems. If an item is allocated both a select function and subitems, the compiler issues a warning, and the select function clause is ignored by the compiled code.

See Event functions.


Help function¶

help = func_id

The function to be called if the user presses the HELP key while the menu item has focus. The function is called as follows

func_id(EV_HELP, item_id)

See Help functions.


RELATED TOPICS

Menus

Event functions

Table of Contents

  • Menu item events and functions
    • Select function
    • Help function

Previous topic

Menu and menu item property clauses

Next topic

Pop-up menus

Quick search

Navigation

  • index
  • next |
  • previous |
  • Sculptor Reference Guide 6.3.10 documentation »
  • Windows and window objects »
  • Menus »
  • Menu item events and functions
© Copyright 2022, Sculptor Ltd..