Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Restrictions on 'visible' as property name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restrictions on 'visible' as property name?



You will have better luck using 'pvis' as the four byte code for 'visible', as defined in AERegistry.r

- Olof

On Jul 3, 2005, at 4:44 PM, King Chung Huang wrote:

Hi,

I'm having a bit of trouble using 'visible' as the name of a property on one of my classes. When I use it in a statement like,

title of slide 1 of slideshow 1 is visible

I get an error that says, "Can't make visible of visual "BGTitlePlaceholderInfo-11" of slide "BGSlide-0" of slideshow "blank.key" into type reference." If I rename the property to something else, it works as expected. Any suggestions on how I can get 'visible' to work? Or does anyone have a suggestion for an alternative name? Here's the relevant SDEF fragment.

<property name="visible" code="Ttvi" type="boolean">
    <cocoa key="scriptTitleVisible"/>
</property>

Thanks,

King Chung Huang _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Restrictions on 'visible' as property name? (From: King Chung Huang <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.