Try to REPLACE ALL ObjCode WITH SPACE(0) before you are making changes and COMPILE CLASSLIB after.
>I have a form with many containers stacked on top of each other. Each container has a listbox. I need to add a couple of lines of code to the DblClick event of the listboxes and would prefer not having to go to each in the designer and add the code.
>
>I opened the scx and did a REPLACE on the Methods memo fields for the listboxes. I then compiled the form. When I go into the form designer the code exists in the DblClick method for each listbox but it does not seem to fire. The only one that fires is the one I did directly in the form designer. Did I miss a step or is it even possible to add method code in this manner?
>
>Thanks for you help.
>
>George
--sb--