I create dynamic windows with dynamic list boxes, textfields and combo boxes during runtime. Sometimes I want to change the width of an active window based on the number of objects on the dynamically created window. Can I refer to the active window from a general module so I can use the statement ???.Width = NewSize?
This might be what you are looking for: http://documentation.xojo.com/index.php/Window_Method (Window zero is the frontmost window)
Or use window.activate and get the windows handle