Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!rutgers!pilot.njin.net!princeton!phoenix!bskendig From: bskendig@phoenix.Princeton.EDU (Brian Kendig) Newsgroups: comp.sys.mac.hypercard Subject: Re: disabling 'Quit' Message-ID: <14136@phoenix.Princeton.EDU> Date: 27 Feb 90 21:35:20 GMT References: <4097@hub.UUCP> <14123@phoenix.Princeton.EDU> Reply-To: bskendig@phoenix.Princeton.EDU (Brian Kendig) Organization: Systems Engineering, NASA Space Station Freedom Project Lines: 24 In article <4097@hub.UUCP> 73747.1257@compuserve.com writes: >I'm no HyperCard wizard, but it strikes me that something like disabling >the 'Quit' menu item would be a pretty strange and difficult thing to do. >If anyone has addressed the problem, let me know, or a friend of mine >(who's the one typing this posting) will have to try and figure out how >to write some nasty deceptive XCMD for me. Save him from this torture >and send me the solution to my problem! I screwed up in my original solution to this. Here's a more correct answer: on doMenu theMenuItem if theMenuItem is not "Quit HyperCard" then pass doMenu end doMenu This should do the trick nicely. << Brian >> -- | Brian S. Kendig \ Macintosh | Engineering, | bskendig | | Computer Engineering |\ Thought | USS Enterprise | @phoenix.Princeton.EDU | Princeton University |_\ Police | -= NCC-1701-D =- | @PUCC.BITNET | | Systems Engineering, NASA Space Station Freedom / General Electric WP3 |