home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!stanford.edu!snorkelwacker.mit.edu!news.media.mit.edu!news.media.mit.edu.!sro
- From: sro@media.mit.edu (Shawn O'Donnell)
- Subject: Re: Changing Font of Button?
- In-Reply-To: jpugh@apple.com's message of Mon, 17 Aug 1992 06:23:22 GMT
- Message-ID: <SRO.92Aug17162522@media-lab.media.mit.edu>
- Followup-To: comp.sys.mac.hypercard
- Sender: news@news.media.mit.edu (USENET News System)
- Organization: M.I.T. Media Laboratory
- References: <Bt05Mt.GrG@usenet.ucs.indiana.edu> <jpugh-160892231941@90.20.3.200>
- Distribution: comp.sys.mac.hypercard
- Date: Mon, 17 Aug 1992 21:25:22 GMT
- Lines: 25
-
- In article <Bt05Mt.GrG@usenet.ucs.indiana.edu>,
- bhostetl@silver.ucs.indiana.edu (Brian Hostetler) wrote:
- >
- > Is there any way to change the default button font (chicago)?
-
-
- I don't know if you can change the defaults, but you can make it look
- as if you did. I didn't like any of the defaults for buttons, so I
- put the following in my Home stack to intercept NewButton messages:
-
- on newButton
- set the autohilite of target to true
- set the textfont of target to palatino
- set the textstyle of target to bold
- set the style of target to shadow
- set the showname of target to true
- end NewButton
-
- Now that I look at it, perhaps I should end with a "pass NewButton".
- But it seems to work well without it.
-
- If you don't want the changes to apply as globally as I did, put the
- handler lower in the hierarchy.
-
- --Shawn
-