Hello All!
I have a control that just acts on its own to save various properties
concerning the form it is placed on. When the form unloads the control
saves the current properties including size, position, font, window
state, etc. When the form is loaded again later all the properties are
restored to the form. Pretty nifty I think. My boss wants the control
to work with out my little hook though. In the form load event I call a
property like this:
Set PreserveControl .HostForm = Me
That is all that is needed to make the control work but my boss wants me
to get rid of that line. Is there anyway to do this?
Thanks!
Matthew Hanna
I have a control that just acts on its own to save various properties
concerning the form it is placed on. When the form unloads the control
saves the current properties including size, position, font, window
state, etc. When the form is loaded again later all the properties are
restored to the form. Pretty nifty I think. My boss wants the control
to work with out my little hook though. In the form load event I call a
property like this:
Set PreserveControl .HostForm = Me
That is all that is needed to make the control work but my boss wants me
to get rid of that line. Is there anyway to do this?
Thanks!
Matthew Hanna