Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!sdd.hp.com!usc!srhqla!quad1!carl From: carl@quad1.quad.com (Carl Priddy) Newsgroups: comp.windows.x.motif Subject: Re: Selection Box List Item Problem Summary: weird behavior with selection box widget Message-ID: <14459@gouda.quad.com> Date: 23 Aug 90 19:00:10 GMT References: <264@sps.com> Organization: Quadratron Systems Inc, Thousand Oaks Ca Lines: 18 In article <264@sps.com>, arm@sps.com (Annette Myjak) writes: > I am having problems with items not always appearing in the list for the > selection box widget. Annette, As long as folks are just throwing out suggestions, I have a couple: If you are going through the process of managing/unmanaging, it is a short step to destroying/recreating. I don't add or delete items from a selectionbox list, but I recreate them zillions of times with no problem (so far). Also, I had some very bizarre behavior occuring with pulldown menus that was finally traced back to my thoughtlessly re-executing a bit of code that had the "XtAddCallback()" statement in it. Silly me, I thought that the guardian spirit of naive programmers would notice that the function name and callback data were exactly the same, and ignore the additional calls. Boy, was I wrong. This had the effect of queueing the same process to be called many times when I expected it to occur only once! Good luck. carl.