Re: Help - Newbie Drag And Drop Question (again)
Re: Help - Newbie Drag And Drop Question (again)
- Subject: Re: Help - Newbie Drag And Drop Question (again)
- From: Matt Neuburg <email@hidden>
- Date: Sun, 13 Oct 2002 16:27:33 -0700
On Thu, 10 Oct 2002 21:49:01 +0200, Volker Bublitz <email@hidden> said:
>
i have a subclass of NSTextField called myTextField... i tried to do
>
the following:
>
>
1. on dragging filling the whole textField with lightGray
>
2. on performDraggingOperationg displaying the Path of the dragged file
>
or folder
>
>
problems
>
1. just the border is displayed in light grey
>
2. i can only drag a file when dragging it to the border of the
>
textField
Because when you're actually editing the textField, its field editor
appears and physically gets in your way (it is located in front of the
textField). Your code needs to deal with the field editor, not the
textField. See the archives for much more info, since this matter has been
discussed here many times. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.