Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: new element
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new element



On 9/15/03 4:11 AM, "Piers Goodhew" <email@hidden> wrote:

>
> While you cannot make arbitrary new buttons, you can do what sascha was
> asking in a simple way using the "transparent" property of a
> pre-existing button.
>
> E.g., say you want button B to appear when button A is clicked. You set
> A and B up in IB, making B transparent once you're happy with it. You
> give button A an on clicked handler with (at least) the following code:

You'd better set the 'enabled' property of button B to false as well, or the
user could click the transparent button unintentionally while it's
transparent! Then in the same on clicked handler, set enabled of button B to
true as well as its transparence to false.

--
Paul Berkowitz
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: new element (From: Piers Goodhew <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.