New topic in General: iterating over all closed Windows of a project
mcglothin - Wed Apr 30, 2008 11:09 am <http://forums.realsoftware.com/viewtopic.php?t=22136> I have a need to iterate over all of the Window objects in a project, whether that Window is open or closed. The intention is to, at application startup, compare the Window's name against a database for determination of whether to .Open that Window, and if to be opened, place it at the last saved position/size. I can, of course, unroll the loop and reference each Window object directly in the code. For open windows, I know I can iterate over Windows() array. I'm not yet able to convince Introspection to yield the desired object references, but I'm rather new to the Introspection tools. I'm hoping that I'm overlooking something obvious, and can somehow iterate over the entire collections of Windows that are known at compile-time. Is what I'm desiring possible, and if so, could you give me some hints how? _________________ Daniel [RB2008r1 Pro on Windows XP targeting Windows and Linux] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
