>> Occasionally I want to close one of these types of windows are non modal and >> I don't have a reference to it. > > I can imagine that; I may even have run into this myself -- but I > think I just zipped through the window list, and closed anything that > IsA PreferencesWindow (or whatever I called my window class). I've > never needed to do this for so many different windows that it was > worth trying to generalize it. But, I now see why you asked the > question -- if there were some easy way to generalize it, that might > be handy if you have a lot of these one-instance window classes.
Thanks for the dialog Joe. In refactoring I noticed this in several places ss I was attempting a generalized method to put in my external WindowsExtensions module :-) Out of curiosity, do you know if there a structural reason one can't pass a class as a parameter or has this simply not been implemented? Thanks, Keith > Best, > - Joe _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
