Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Toolbar in Leopard and xCode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar in Leopard and xCode 3.0



On Thu, 27 Dec 2007 14:56:57 +0100, Le Gallou Alain <email@hidden>
said:
>
>I am beginner with ASS and working with Leopard and xCode 3.0
>
>I implemented the toolbar with the new Interface Builder toolbar.
>The toolbar work fine, except, if I use "Customize toolbar" to delete
>a toolbar item
>and after  I use "Customize toolbar" again to activate the same
>toolbar item,
>the item toolbar do not work any more.
>
>I got the message : "Can't get toolbar item id 12 of toolbar of
>window 1".
>
>Is any body has tested the new Interface Builder toolbar of Leopard.
>A bug or I miss something.
>

You're not doing anything wrong. Remember, ASS has not evolved since
Panther, so Tiger and Leopard interface objects such as the new toolbar
architecture in Leopard's version of Cocoa are not well supported. Either
don't let your toolbar be customizable or else link against Tiger (not
Leopard) and do toolbars the old way (see the Simple Toolbar example on your
hard disk) and I think you'll be fine. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



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

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 © 2011 Apple Inc. All rights reserved.