• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSview object control TextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Can "openFile" open folders? (From: Lorenzo <email@hidden>)

  • Prev by Date: RGB color values for NSColor
  • Next by Date: sorry list, please ignore my last post ... i made a mistake
  • Previous by thread: Re: Can "openFile" open folders?
  • Next by thread: We are looking for developers for small productivity applications
  • Index(es):
    • Date
    • Thread