🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.databases
Article #401

Re: Using 4D menus

#401
From: Mike Hennahane
Date: Thu, 12 Nov 1992 00:41
31 lines
1866 bytes
dt1n+@andrew.cmu.edu (David Tsai) writes:

>How in the world do you get the menus working in 4D when you leave the
>first menu bar?
[...]
>work.  Somewhere in the book it says to use negative numbers for
>runtime...I tried that everywhere I could thing of but that did not work.

negative menu bar numbers are the key here.  assigning a negative menu
bar to a layout will APPEND that menubar to the current menubar.  if
you want a whole new menubar, you should set the menubar with the MENU
BAR command, then assign the same menubar to the layout you are using
(but with a NEGATIVE number to activate it).  you will not end up with
2 copies of the same menubar, just one that works.

>The problem I see is that the menu item does not perform the procedure
>assigned to it.

this is the negative menubar problem again.  the items look like they
should work, but they do not.

>I did some more looking around and I have also found a couple of
>commands which I do not understand: "Check Item" and "Menu selected" 
>The thing is I don't know if these options are of any use to my problem.
> Help...?

these have nothing to do with your problem.  check item puts a check
mark next to the item you specify; menu selected tells you which item
was selected off which menu.

--mike
Technical Details
Message-ID: <michaelh.721528872@Xenon.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!michaelh
References: <kezqWU600iV00AWnU5@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac.databases
Path: arc1-ca.pugleaf.net!sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!michaelh
From: michaelh@Xenon.Stanford.EDU (Mike Hennahane)
Subject: Re: Using 4D menus
Message-ID: <michaelh.721528872@Xenon.Stanford.EDU>
Sender: news@CSD-NewsHost.Stanford.EDU
Organization: CS Department, Stanford University, California, USA
References: <kezqWU600iV00AWnU5@andrew.cmu.edu>
Date: 12 Nov 92 00:41:12 GMT
Lines: 31