RE: NEWERA -- getWindow() in functions
Posted in 1997
Hi all }Mike Wrote> }>We use a function to perform table lookups. This function is stand alone }>and not part of any class. (This is probably where our problem lies!). I think so. }>The function creates a list box in a modal window and we want this }>window to be contained by the current window. We do this by changing the }>containingWindow property. Fair enough, but there is still the problem of the window instance. }>Our problem is that we cannot get the containing Window from within the }>function and we have to resort to passing the window on the calling line }>of the look up function. }>Is there a better way? Probably...why don't you post the function and the code you use to call it. Document and lay out each section carefully, and mail it back to the list. You'll probably get 10 different responses that will achieving your goal. Waiting in anticipation. David. } } }david@west.co.za }Senior Software Consultant }The West Solutions Group }Friends help you move...REAL friends help you move bodies! }