Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!watcgl!kdmoen From: kdmoen@watcgl.UUCP Newsgroups: comp.sys.mac Subject: Button hilighting in HyperTalk Message-ID: <1748@watcgl.waterloo.edu> Date: Sun, 13-Sep-87 01:10:04 EDT Article-I.D.: watcgl.1748 Posted: Sun Sep 13 01:10:04 1987 Date-Received: Sun, 13-Sep-87 10:56:27 EDT Reply-To: kdmoen@watcgl.UUCP (Doug Moen) Organization: U of Waterloo, Ontario Lines: 25 I'm working on a HyperCard database intended to be used by people with no knowledge of computers or Macintoshes. I've found that causing buttons to highlight when the cursor moves over them makes the user interface much more intuitive. This turns out to be easy to do in HyperTalk. You simply include the following code in each button script: on mouseEnter set hilite of the target to true end mouseEnter on mouseLeave set hilite of the target to false end mouseEnter Here's my problem. I prefer not to edit the script of every single button in my database to add this code. I have tried putting the code into the stack script, where it will be inherited by every button in the stack. This works, but unfortunately, it also gets inherited by fields, which is not what I want. Any suggestions? -- Doug Moen University of Waterloo Computer Graphics Lab UUCP: {ihnp4,watmath}!watcgl!kdmoen INTERNET: kdmoen@cgl.waterloo.edu