[futurebasic] Re: [FB] Re: Taming the Little Arrows Appearance button

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2001 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Sun, 10 Jun 2001 14:03:53 +1200
>>The "Little Arrows" Appearance button is a handy addition to the range of
>>controls, but it is hard to use. The demo below shows a way of making the
>>button behave properly.

>Great stuff.
>
>I use OS 8.1... I get a basic Appearance Manager with that. Were I to stick
>some code that uses that into a program, without a check for App Mgr, what
>would happen to someone using OS 7.5 or otherwise non-appearance OS?
>
>No buttons showing up then? Are some of these in the system file of the
>older OS too?


Little Arrows buttons were introduced with MacOS 8.  Earlier than that I would expect the control simply not to be drawn, but a crash is of course possible.

if ( system( _sysVers ) < 800 ) then "You_are_toast"

Robert P.