Click to See Complete Forum and Search --> : How to you make a form re-load


scottie_uk
April 29th, 2003, 02:20 PM
I have forms with buttons on them, the buttons are loaded in from a database in the _load part.

If i edit the database and return to the form, I want to re-load it compleatly, Mine remembers its last state.:confused:

coolbiz
April 29th, 2003, 08:10 PM
How are you re-loading the form?

-Cool Bizs

wolfofthenorth
April 29th, 2003, 08:29 PM
Did you try setting it equal to a new form?

scottie_uk
May 1st, 2003, 11:18 AM
Thanks for yout help I have solved the issue now. i I re-declare the form evytime I want to envoke it.

EG:
DIM spiritsForm AS NEW spirits form.

It seems to solve my problem as a new form has fresh settings.

Will this impinge on speed and memory though, will old forms still reside in memory??

:)

DSJ
May 1st, 2003, 12:05 PM
Just be sure to call the forms close() method for each form and you should be OK.