Borje tested a listview problem I'm having in PBforms and didn't have the same issue, so I'm thinking it may be an FF problem???
http://www.powerbasic.com/support/forums/Forum4/HTML/010993.html
Problem found:
@ff.OldProc is never getting called when the control is destroyed, so no
memory is being freed.
Shouldn't the DefWindowProc be called during WM_DESTROY for the form as well instead of exiting the function?
Quote from: Roger GarstangShouldn't the DefWindowProc be called during WM_DESTROY for the form as well instead of exiting the function?
No. DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. After destroying the window there are no more messages to process. You have to quit.
Ok, just making sure. If the default procedure for a control needs to be called to free memory, I figured maybe the same thing would apply for a form/window.