Hi, I'm having a little trouble with the list.js file - yes, I know its a Widget, but I think that my problems are due to the event model. I want to add in code to make sure that events for each list are only processed by THAT list ... try this : Create two lists, and add them into separate pushpanels (I think it should behave the same way without the pushpanels, but I have mine in pushpanels and I though it best to say so, just in case!) Now select an item in one list (lets call it List-A) and then select an Item in the Other list (List-B) _I_ would expect that selecting an item in List-B would not cause the item in List-A to be deselected .. but that is what happens (FYI: Windows 2K - IE 5.5 - dynapi 4/4/01) Reading into the code if the List object it does some really odd things, for example the List object itself appears to have two separate listeners, one for the onCreate and another for the select/deselect events! Also in the select/deselect events, when the select has been processed the method invokes another select/deselect event ... Why on earth would it want to do that? Another issue that I have with the List.js file is the Listitem Object - the onMouseOver has to resort to a _really_ TIGHT loop to encourage ListItems who didnt recieve an onMouseOut notification to properly toggle their background state. I'd like to change this such that I could create a 'global' message/event that could be sent to other ListItems contained within the List telling them to update themselves. (assuming the event-model is multi-threaded) My overall problem is that there is a LOT of code associated with the event-model and almost no documentation (apart from telling you how to use it ... I'd like to know how it WORKS in a vauge overall sense - I can read the code for the details but a quick overview of how it hangs together might come in handy) Also, finally ... why is DynAPI2 so much slower than the Dan's original? Great work BTW, I hope to be able to contribute a fair bit over the next few months as I am hoping to use DynAPI to build a commercial product, so that means I'll be doing a fair amount of Mac debugging, Widget Creation, maybe even Opera Support (I kinda need it for my target audience) Speak 2 U soon. Al. ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-help
