| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
on awake from nib theObject
log (theObject)
if (name of theObject as string) is "someTextField" then
tell theObject to register drag types {"file names"}
end if
end awake from nibTony
Hi all,
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:
set t to text field "SM_INDYFOLDERNAME" of tab view item "SM_TAB_SAVE" of tab view "SM_TABVIEW" of window "PMmain" tell t to register drag types {"file names"}
But this causes an error. I've tried all sorts of extras, 'view of tab view item', 'contents of', but none of them works.
(This is only within tab view items, I have drops working fine when done in the main window.)
Could someone help me out with the proper syntax for this one?
Thanks, Wim
-- 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
| References: | |
| >Making text field inside tab view item droppable (From: Wim Melis <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.