NSview object control TextField?
NSview object control TextField?
- Subject: NSview object control TextField?
- From: Pei Xiang <email@hidden>
- Date: Tue, 26 Aug 2003 16:37:19 -0700 (PDT)
i'm doing drag&drop by creating a "Custom View",
assigning it a class which is sub class of NSView.
i made the class an outlet to a textbox (NSTextField),
hoping to do sth to the display. say, the outlet name
is WriteOnThis.
in the
- (BOOL)performDragOperation:(id
<NSDraggingInfo>)sender
method, i did sth like
[WriteOnThis SetObjectValue:@"blah"] ;
but nothing happened in the textbox after this. i'm
confused and wonder is it right to ask a drag&drop
operation trigger some text field change?
Pei
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.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.