Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: disabling 'Quit' Summary: doMenu handler Message-ID: <39020@apple.Apple.COM> Date: 27 Feb 90 06:48:24 GMT References: <4097@hub.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 29 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. Nope. on doMenu theItem if theItem is "Quit HyperCard" and the optionKey is up then beep answer "You cannot quit from this stack!" with "Moo-ha-ha" else pass doMenu -- DO NOT FORGET THIS LINE!!! end if end doMenu The above disallows the selection of Quit (unless you're holding down the option key). >And those CompuServe bozo's aren't as good as you nice, considerate, >UseNetters anyway.] *ahem* I resemble that remark.... -- ====== jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.UUCP | compilation copyright without my permission. ___________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. | AppleLink: SQA.TEST