[futurebasic] Re: Menu Problems

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Stewart <stharris@...>
Date: Sun, 26 Sep 1999 22:30:53 -0400
> Chris Stazny said:
>
> I can't imagine how this worked in FBII. Your statement...
>
>    itemID% = MENU (menuID)
>
> was supposed to be...
>
>    itemID% = MENU (_itemID)  ' _itemID = 1
>
> That means it should only have worked for menu #1.
>

I copied the following out of my FB II program that has always worked
and still does:

LOCAL FN doMenu
   DIM menuID, itemID,View%
   menuID = MENU(0)
   itemID = MENU (menuID)

Why, I don't know, but I'm glad o know how it should be.
Thanks to all who responded.

Stewart