Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set hidden of button?



I'm used to setting "enabled" of various UI items in IB and then handling the appearance in code/runtime...

However, I'd like to use this "hidden" element for some interface elements, so as to not just show a greyed-out item, but hide it completely from the user.

"enabled" syntax:
set enabled of button "myButton" to false

So, should the "hidden" syntax be:
set hidden of button "myButton" to false


Of course, AS complains and says that this is wrong...am I missing something?

Thanks,
j
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.