home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!linac!uchinews!msuinfo!news
- From: lebay@mercury.cl.msu.edu (Jim LeBay)
- Newsgroups: comp.sys.next.programmer
- Subject: 2 NXBrowser questions
- Keywords: browser, ignoreMultiClick
- Message-ID: <1992Nov18.074440.4634@msuinfo.cl.msu.edu>
- Date: 18 Nov 92 07:44:40 GMT
- Article-I.D.: msuinfo.1992Nov18.074440.4634
- Sender: news@msuinfo.cl.msu.edu
- Reply-To: lebay@msu.edu
- Organization: Michigan State University
- Lines: 23
-
- I've got a couple things I'm trying to do with a browser, and haven't
- figured out yet. I've got a standard NXBrowser in the top half of an
- NXSplitView, and I'm using a subclass of NXBrowserCell. I'm compiling
- under NS2.1, and testing/running the program under 3.0.
-
- 1) Where should I send an ignoreMultiClick:YES message? I've tried
- sending it to the browser, and to the matrix in each column of the
- browser, but neither has worked.
-
- 2) In some circumstances I want to abort the addition of a new column.
- I've tried sending the following messages from the browser's delegate,
- which didn't work at all. Instead I'm sending them from the browser's
- target, which does work, except that the browser flickers back and forth.
- So I tried sending setAutoDisplay:NO to the browser, but it still
- flickers. What am I doing wrong, or is there a better way to do this?
- [sender setLastColumn:[sender selectedColumn]];
- [sender scrollColumnsRightBy:1];
-
- ------
- Jim LeBay (517) 353-1800
- Computer Information Center lebay@msu.edu
- Michigan State University lebay@mercury.cl.msu.edu (NeXTmail)
- *=*=* I feel better than James Brown! *=*=*
-