J
Joe Holzhauer
I'm struggling with some strange behavior by Access 2003:
I have a Form_Resize event procedure that calls the sub ResizeControls. The
ResizeControls sub (obviously) resizes several controls on the form to fit
the new form size. I maximize this form on open, so the code should run
automatically.
The problem is that when I click the command button I have on another form
to open the form in question, none of the controls are resized--it's like
the code doesn't run. What's weird is that when I set a bookmark and trace
through the code, it works perfectly.
Has anyone encountered this before? Code that works perfectly when
debugging, but not when running?
Thanks for any ideas you might have!
Joe
I have a Form_Resize event procedure that calls the sub ResizeControls. The
ResizeControls sub (obviously) resizes several controls on the form to fit
the new form size. I maximize this form on open, so the code should run
automatically.
The problem is that when I click the command button I have on another form
to open the form in question, none of the controls are resized--it's like
the code doesn't run. What's weird is that when I set a bookmark and trace
through the code, it works perfectly.
Has anyone encountered this before? Code that works perfectly when
debugging, but not when running?
Thanks for any ideas you might have!
Joe