🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Playing with PopUp's

#1215
From: Robert D. Nicholson
Date: Wed, 19 Aug 1992 03:53
13 lines
940 bytes
I wish to set the title of my popUp and this is working properly but for one thing.  I basically just want to select an item programatically but also have its action sent to its target.  Currently the action is not sent.

I have this code.

popUp = [[NXApp employeePanel] popUp];
if (popUp) {
   Matrix *popUpMatrix = [[popUp target] itemList]; 
   [popUp setTitle: [[popUpMatrix findCellWithTag:1] title]];
}    

This code just has a cosmetic affect it doesn't actually message the target.

Is this how setTitle is suppose to work?
Technical Details
Message-ID: <1992Aug19.035329.28491@monu6.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: Playing with PopUp's
Message-ID: <1992Aug19.035329.28491@monu6.cc.monash.edu.au>
Summary: Playing with PopUp's
Organization: Monash University, Caulfield Campus
Date: Wed, 19 Aug 1992 03:53:29 GMT
Lines: 15