WindowParent returns the parent window (from the window declaration) of the specified window on the current GUI (or on GUIType, if specified).
[-] window DialogBox Find [ ] tag "Find" [ ] parent TextEditor [-] StaticText FindWhatText [ ] tag "Find What:" [-] TextField FindWhat [ ] tag "Find What:" [-] CheckBox CaseSensitive [ ] tag "Case sensitive" [-] StaticText DirectionText [ ] tag "Direction" [-] PushButton FindNext [ ] tag "Find Next" [-] PushButton Cancel [ ] tag "Cancel" [-] RadioList Direction [ ] tag "Direction" [-] testcase WindowParentExample () [ ] Print (WindowParent (Find)) // prints: TextEditor