Mailing Lists: Apple Mailing Lists

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

Re: Choose-your-own-adventure gave #2




On Apr 23, 2005, at 12:47 PM, Matt Neuburg wrote:

I don't understand why an object would change its id from run to run - I've
never seen that. However, there's is an easy solution. Assign the buttons a
tag (in Interface builder). This is the standard Cocoa way to give an object
an identifier. Of course alternatively you could just examine the button's
title instead of its id, but this is less elegant, since a title might
change in the course of development, and it might be localized. m.


If he is dynamically creating buttons they might change ids.
_______________________________________________
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
References: 
 >Re: Choose-your-own-adventure gave #2 (From: Matt Neuburg <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.