Hi,

I wanted some inputs regarding drag/ drop functionality in cocoa.
I have two scenarios as below:

1. I have a text field and a table view in 2 different windows.
I drag and drop a row from the table view to the textfield.
Now, after drop, i would want to have a database transaction.
I would want to validate the text that i have dropped onto the text field,
and save the text that i have dropped onto the text field in the database.
Could you please let me know as to which method can i use to tell me that
the drop has been completed? So that i can do my front end validations on
the text that i have dropped.
2. Suppose a text is already present in a text field. Now, since the text
field is editable, i can drag and drop another row of the table view onto
this text field.
 Now, the new text would be superimposed on the old text in the text field.
Is there a way, i can prevent this from happening?


Thanks and Regards,
Vibhatha
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to