home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!lcs.mit.edu!nodine
- From: nodine@lcs.mit.edu (Mark H. Nodine)
- Subject: Re: Still need help on ref'ing btn
- Message-ID: <1992Dec21.202859.28906@mintaka.lcs.mit.edu>
- Sender: news@mintaka.lcs.mit.edu
- Organization: MIT Laboratory for Computer Science
- References: <1gm1ciINNagk@uniwa.uwa.edu.au> <1gmo08INNsl0@uniwa.uwa.edu.au>
- Date: Mon, 21 Dec 1992 20:28:59 GMT
- Lines: 20
-
- In article <1gmo08INNsl0@uniwa.uwa.edu.au>, spw@uniwa.uwa.edu.au (Steven P Wilkinson) writes:
- |> I have several cd btns. One is cd btn id 2233, number 17 whose name
- |> is "23". Another is cd btn id 5432, number 23 whose name is "test".
- |>
- |> If I refer to cd btn "test" (its name) then hypercard assumes I mean
- |> the btn with id=5432. So far so good.
- |>
- |> Now if I refer to cd btn "23" (also its name) then unfortunately
- |> hypercard assumes I am talking about the btn with id 5432 when in
- |> fact I want to talk about the btn with id 2233 whose name is "23".
-
- I assume that you can't change the names of your buttons to something
- like "Button 23" since you're using the Show Names option. I don't know
- if this will work, but you might try changing the name of your button
- to " 23 " (note the blanks). Since you put a space on each side, it
- should still center properly, but when you say
- card button " 23 "
- it may realize that you meant to use a name rather than a number.
-
- --Mark
-