Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!leah!rpi!batcomputer!cornell!vax5!bvsy From: bvsy@vax5.CIT.CORNELL.EDU Newsgroups: comp.sys.mac.hypercard Subject: Re: Button Name Message-ID: <18582@vax5.CIT.CORNELL.EDU> Date: 10 May 89 13:36:49 GMT References: <6035@brunix.UUCP> Sender: news@vax5.CIT.CORNELL.EDU Reply-To: bvsy@vax5.cit.cornell.edu (PUT YOUR NAME HERE) Organization: Cornell Information Technologies, Ithaca NY Lines: 20 In article <6035@brunix.UUCP> cs004004@cslab9d.UUCP (Jon Feinberg) writes: >I am simply trying to have a button modify its own name like so: > >on mouseUp > if name of me is "ShowIt" then > set name of me to "HideIt" > else > set name of me to "ShowIt" > end if >end mouseUp > You should use short name of me. ie if short name of me is "ShowIt". Using just name of me returns the full title of the object- bkgnd button "ShowIt" or card field "Hide" etc.. wing ygxj@vax5.cit.cornell.edu ygxj@cornella.bitnet