<p>How do you return values or structures from a Popup window in Powerbuilder 9.0? The CloseWithReturn is only valid for Response windows and thus is not available. When I set a value to the Message.PowerObjectParm, the value becomes null when the Popup window closes. I need to use a Popup window so the user can click back to the caller window and scroll through rows. </p>

<p>Program flow:
1) Window A OpenWithParm
2) Window B is now open
3) User interacts with both windows
3) User closes Window B
4) Window B needs to pass a structure back to window A</p>

You won't be able to accomplish this the way you are thinking.  Since the window you are opening from the parent is not a Response window, the two aren't explicitly linked together.
But you could accomplish this by having a public instance variable in the parent window that is of the type of your custom structure.  Then from the child window before you close it, explicitly set the variable in the parent window via something like this:
```
```
w_my_parent_window_name.istr_my_structure = lstr_my_structure
```
```
This should only be done if there will only be one instance of w_my_parent_window_name instantiated.