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: control object names



Never mind. As I thought a bit more about naming the controls this
way, I decided it wasn't really a good idea.

Sorry for the interruption... Back to your regularly scheduled email.

RJay

On 9/20/06, RJay Hansen <email@hidden> wrote:
Quick question.

If you have two windows w/similar controls, is it a problem to assign
the same name to a similar control in each window?

For example, the default button on two different windows may be a
"Save" button. Could you name them both "saveNow" as long as you
specified which window they were attached to when addressing them (eg.
button "saveNow" of window "mainWindow")?

Thanks,

RJay

_______________________________________________
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: 
 >control object names (From: "RJay Hansen" <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.