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: Making text field inside tab view item droppable



Thanks, I'll give that a try.

I did already set the dialog to open with that particular tab view item open
though (by making it the active one when saving from IB).

Is the 'awake from nib' handler perhaps too soon for this, and should I put
it in a later stage?
Or could it even be in the 'on dragged' handler itself (which would
guarantee the tab view item to be active)?

Wim

> it won't work if the tab view is not visible. You can try to set the
> 'visibility' to true during the 'will finish launching' for example. So
> the code could look like:
> 
> on will finish launching theObject
> set current tab view item of tab view 1 of window "PMmain" to tab view
> item theOneWithTheText of tab view 1 of window "PMmain"
> -- your code here ...
> set current tab view item of tab view 1 of window "PMmain" to tab view
> item theWantedOneOnStart of tab view 1 of window "PMmain"
> end will finish launching

>> 
>> I'd like to make a text field inside a tab view item droppable, but I
>> can't
>> seem to find the right syntax for it. This is in the 'awake from nib'
>> handler:


-- 
email (home): email@hidden
email (office): email@hidden
http://www.noorderlicht.com * Noorderlicht photofestival


 _______________________________________________
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.