home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!yale.edu!jvnc.net!princeton!siemens!ursa!fwb
- From: fwb@siemens.com. (Frederic W. Brehm)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: Hiding the menubar
- Message-ID: <fwb.721325150@ursa>
- Date: 9 Nov 92 16:05:50 GMT
- References: <1992Nov06.173256.94175@bmug.org>
- Sender: news@siemens.siemens.com
- Lines: 20
-
- Aaron_S._Friedman@bmug.org writes:
- >Is there a script I can put into a stack that hides the menubar ONLY if the
- >screen is 9"?
-
- My favorite solution is:
-
- on openStack -- or your favorite handler
- -- other stuff
- if (rect of card window >= the screenrect) then hide menuBar
- -- more other stuff
- end openStack
-
- But if you substitute (the screenrect = "0,0,342,512") for the "if"
- condition then it will meet your specification exactly. You better check
- those numbers "342,512", though. I'm not positive they are correct.
-
- Fred
- --
- Frederic W. Brehm Siemens Corporate Research Princeton, NJ
- fwb@siemens.siemens.com
-