>>I find that an app I write that uses a statement like: >>FN ALERT(999,_nil) >>(don't worry about the syntax) >> >>looks fine on a system 8.0 machine, but on a system 7.0 machine, has a big, >>black, rounded rectangle around the text in the alert(yuck!) > >Hm... That rounded rect looks a lot like the border around the default >button, doesn't it? My guess is that the text item is the first item in the >DITL. The FN ALERT command builds an alert and draws a border around the >first item in the alert's DITL, no matter what kind of item it is. >To solve your problem, make the button you want as default the first item >in the DITL (using ResEdit's renumber items command). This should also make >it so that when the user presses the return key it's treated as if he'd >clicked the default button. > >Pontus Ilbring > Brings up a somewhat intersteing point. Does Sys 8+ have a change to the DITL code that looks for the first button instead of the first item now? By the original question it seems that this may be the case. Doesn't really matter I guess (default btn should be the first item if for no other reason then backwards compat), but now I wonder... *Chris