When is a menu not a menu?

graham samuel graham.samuel at wanadoo.fr
Sat Apr 2 07:58:18 EST 2005


I  know that menus are really buttons, but in the documentation there 
is an example:

  disable menu "Text"

which implies that you can use the term 'menu' as being more 
descriptive. However, I found out that

   put exists(menu "myMenu" of grp "Main_Menu" of cd "Main" of stack 
"Main_Display")

results in 'false', whereas

   put exists(btn "myMenu" of grp "Main_Menu" of cd "Main" of stack 
"Main_Display")

returns 'true'

In what circumstances does RR allow me to use the term 'menu' as a 
synonym for button?

Graham
----------------------------------------
Graham Samuel / The Living Fossil Co. / UK and France


More information about the use-livecode mailing list