🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1740

Re: NXBrowser problem...

#1740
From: Tim McClarren
Date: Mon, 05 Oct 1992 17:28
32 lines
1692 bytes
BrianW@SoundS.WA.com (Brian Willoughby) writes:

>I posted the answer to this on Sep 14, but it was perhaps obscured among some  
>other answers - here is a short recap:

>After MUCH experimentation under 2.1, I found that -appDidInit: and  
>-setBrowserOutlet: were not reliable places to make the -setCellClass: call.  I  
>subclassed NXBrowser and included the following class method:

>+ initialize
>{
>	[super initialize];
>	[NXBrowserSub setCellClass:[NXBrowserTextFieldCell class]]; // bogus?
>	[self setCellClass:[NXBrowserTextFieldCell class]];
>	return self;
>}

>This code looks redundant, but that is because I never went back to look at it  
>until today.  I guess the old adage: "don't fix it if it ain't broke" applies  
>here.  I would assume that either line would suffice, but I haven't tested  
>anything but what appears above.

Well, it is with deep regret that I inform you that I wasn't able to
get the above to work under 3.0.  It seems to work okay if I do the
setCellClass in initFrame of the NXBrowser.  Are you still using the
above code under 3.0?
Tim

-- 
Tim McClarren     | "...a bajillion brilliant Jobsian lithium licks."
timm@ncsa.uiuc.edu|
(217)244-0015     |
Technical Details
Message-ID: <timm.718306096@xongmao>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!xongmao!timm
References: <timm.717823827@xongmao> <BvMJHB.AEs@sounds.wa.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!xongmao!timm
From: timm@xongmao.ncsa.uiuc.edu (Tim McClarren)
Subject: Re: NXBrowser problem...
References: <timm.717823827@xongmao> <BvMJHB.AEs@sounds.wa.com>
Message-ID: <timm.718306096@xongmao>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: University of Illinois at Urbana
Date: Mon, 5 Oct 1992 17:28:16 GMT
Lines: 32