[futurebasic] Re: [FB] Re: [FB^3] Apple Menu Quandry

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2000 : Group Archive : Group : All Groups

From: Pierre Zippi <biostrat@...>
Date: Fri, 27 Oct 2000 09:51:33 -0500
Joe Lewis Wilkins wrote:
> 
> Hi  Guys;  Here's a real good one!
> 
> For the Apple Menu:
> 
> In the LOCAL FN doMenu:
> In one Program, menuID% = MENU (_menuID) produces a value of 254.
> In a second Program, it produces a value of 127 (the one I thought it should
> be)

Joe 

I thought this was OS version dependent.
I have always used the following code to accommodate older (pre-Sys 7) Macs.
However, it will probably "fix" your problem.

    CASE 255:                                     '-- About
      item% = FN ALERT (1000, 0)                  'display ALRT resource
ID 1000
    CASE 127                                      'Apple Menu
      SELECT itemID
        CASE 1                                    'About Program
          item% = FN ALERT (1000,0)               'display ALRT resource
ID 1000
        CASE 2                                    'Help if System < 700
          FN HelpBuild  
      END SELECT

-- 
Dr. Pierre A. Zippi
Biostratigraphy.com
7518 Twin Oaks Court
Garland, TX 75044 USA

paz@...
http://www.biostratigraphy.com

paz@...
http://www.pazsoftware.com