Hi,
Under Form Properties ... Defaults (tab) you can set "preserve scripting changes to form when saved" to automatic. If it is set to manual and you want to keep it that way you will have add code in the initialize events to restore the form state.
Hope that helps
Bruce