home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!fstop.csc.ti.com!usenet
- From: babin@lobby.ti.com
- Subject: Re: Alert Help
- Message-ID: <1993Jan12.155732.16734@csc.ti.com>
- Sender: usenet@csc.ti.com
- Nntp-Posting-Host: hhc.itg.ti.com
- Organization: Texas Instruments
- References: <1993Jan12.001107.329@physc1.byu.edu> <1993Jan12.002334.330@physc1.byu.edu>
- Date: Tue, 12 Jan 1993 15:57:32 GMT
- Lines: 32
-
- In article <1993Jan12.002334.330@physc1.byu.edu> seth@physc1.byu.edu writes:
- > [stuff deleted]
- >
- >BUT, this does bring up a couple of new questions. Within the last few weeks I
- >seem to remember a guy asking why he couldn't get a default button surrounded
- >autonatically by the "default" round-corner rectangle. Someone said that this
- >was not autonatic, and discussed ways of doing this. On my machine with THINK
- >Pascal it DOES seem to be automatic. Also, why didn't this show up in ResEdit?
- >Is this a "feature" of THINK Pascal? It must be, as I created some alerts in
- >THINK C before, and I don't recall anything being surrounded by the "default"
- >rectangle then.
- >
- >Seth Leigh
- >BYU Physics Dept.
- >
- >
-
- My understanding (based on use and what I've read here) is as follows:
- - The #1 DITL item in an alert box will be highlighted automatically
- (may be dependent on using NoteAlert, StopAlert, etc)
- - Dialogs will not have a default item highlighted automatically.
- You (the programmer) have to handle this yourself.
-
- This behavior resides in the toolbox (Dialog Manager) and is not dependent
- on the development environment (Think, MPW).
-
- Corrections expected (and requested) if any of the above is erroneous.
-
- -------------
- Mike Babin
- babin@lobby.ti.com
- AOL: MBabin
-