Article View: comp.sys.mac
Article #19037Button hilighting in HyperTalk
From: kdmoen
Date: Sun, 13 Sep 1987 05:10
Date: Sun, 13 Sep 1987 05:10
25 lines
1436 bytes
1436 bytes
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
Technical Details
Message-ID:
<1748@watcgl.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!watcgl!kdmoenShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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