V
Vladimír Cvajniga
Hi,
in A2002 i have a form with a subform that I need to initialize on Form_Open
(I set subform controls' position & visibility & finally subform's width).
In some cases (when I interrupt the code and go to form designer) the
subform saves it's last appearance (and all controls' properties!!!)
according to the initialization procedure. Then I open the form in preview
and all the dynamic stuff is gone since subform's controls' properties are
set incorrectly - they were saved when I interrupted the code and went to
form designer.
I mean I need subform's controls in the same initialiation status always
when I open main form and I'd like to get all controls back in their init
status when I go to design mode. Setting forrm's and subform's property
AllowDesignChanges to FALSE doesn't help. Is there any workaround? Or do I
have to save all my forms in separate MDB so that I have their original
initialization status if this happens?
Sorry for my poor English... I hope you got the idea.
TIA
Vlado
in A2002 i have a form with a subform that I need to initialize on Form_Open
(I set subform controls' position & visibility & finally subform's width).
In some cases (when I interrupt the code and go to form designer) the
subform saves it's last appearance (and all controls' properties!!!)
according to the initialization procedure. Then I open the form in preview
and all the dynamic stuff is gone since subform's controls' properties are
set incorrectly - they were saved when I interrupted the code and went to
form designer.
I mean I need subform's controls in the same initialiation status always
when I open main form and I'd like to get all controls back in their init
status when I go to design mode. Setting forrm's and subform's property
AllowDesignChanges to FALSE doesn't help. Is there any workaround? Or do I
have to save all my forms in separate MDB so that I have their original
initialization status if this happens?
Sorry for my poor English... I hope you got the idea.
TIA
Vlado