home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6090 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!news
  3. From: cjb@canopus.Stanford.EDU (Cecil Bloch)
  4. Subject: Re: Reading in .rtfd files
  5. Message-ID: <1992Sep10.164942.26132@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Reply-To: cjb@vega.stanford.edu
  8. Organization: DSO, Stanford University
  9. References: <Bu9y1C.5Lp@monitor.com>
  10. Date: Thu, 10 Sep 92 16:49:42 GMT
  11. Lines: 18
  12.  
  13. Howard Brenner writes---
  14.  
  15. > I tried it out and it works (sort of).  I found that I had to disable  
  16. the  
  17. > ButtonCell so I would not get a "Text does not recognize sendAction:to:"  
  18. > message.  I also noticed that some text around the ButtonCell turned  
  19. grey  
  20. > when I scroll the text (odd).  But it does work.
  21.  
  22. Which ButtonCell?  What are you loading the Rich Text into?
  23. Something else occurred to me -- if all you want to do is open the RTF  
  24. then the best thing might be to message the Workspace Manager to do it, in  
  25. which case Edit will be launched and the RTF opened:
  26.  
  27. [[NXApp appSpeaker] setSendPort:NXPortFromName(NX_WORKSPACEREQUEST,NULL)];
  28. result = [[NXApp appSpeaker] openFile:filename ok:&ok];
  29.  
  30.  
  31.