Menus

Kevin Miller kevin at runrev.com
Fri Feb 15 08:04:00 EST 2002


On 15/2/02 12:32 pm, Robert Presender <rpresender at mail.earthlink.net> wrote:

> I want to determine the number of menu items of a particular menu by script
> but have been unable to find a Transcript syntax that will do it. ( Mac OS
> 9.2.2, RR 1.1/1.1.1b1)
> 
> Would like to do something like this:
> on mouseUp
> get the number of menuItems of menu "XXXX"
> put it into tNum
> end mouseUp
> 
> Will appreciate any help.

the number of lines in the text of btn "File" -- or menu "File"

Kevin

Kevin Miller <kevin at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.




More information about the Use-livecode mailing list