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