Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!cat.cmu.edu!ns
From: ns@cat.cmu.edu (Nicholas Spies)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Faking menus in Hypercard + PopUpMenu XCMD wanted
Message-ID: <2088@pt.cs.cmu.edu>
Date: 28 Jun 88 02:24:47 GMT
References: <7089@cit-vax.Caltech.Edu>
Sender: netnews@pt.cs.cmu.edu
Organization: Carnegie-Mellon University, CS/RI
Lines: 17

Much easier, and not involving XCMDs, is to write a a doMenu handler that
provids usual menu behavior when a "help" checkbox button is clear and
provides help "answer" dialogs when checked. Such as...

on doMenu choice
 if choice is "Button Info... then
   if the hilite of bg button "help" then
     answer "Opens info box for selected button." with "OK"
   else
     pass doMenu choice
   end if
  else if ...

...and so forth.
-- 
Nicholas Spies			ns@cat.cmu.edu.arpa
Center for Design of Educational Computing
Carnegie Mellon University