I've been struggling with how to improve form opening & closing without screen flicker. For the most part, "repaint" & "echo" solutions don't help.
A solution that helps is 1) eliminating menubars; 2)making all forms over-sized popups with no scrollbars; 3) always keeping the switchboard form open, allowing the popups to cover it (when I exit, the switchboard appears with no flicker/resizing).
The only remaining problem is that the Form Open code executes so fast that the form becomes visible while it is opening (maximizing/resizing). Is there something I can add betweeen DoCmd.Maximize and DoCmdClose to slow it down, allowing the form to fully maximize before it becomes visible?
Private Sub per_Click()
DoCmd.OpenForm "Permitswtchbrd", , , , acHidden
DoCmd.Maximize
Forms!Permitswtchbrd.Visible = True
DoCmd.Close acForm, "Mainmenu", acSaveNo
End Sub
Thanks.
Jay
A solution that helps is 1) eliminating menubars; 2)making all forms over-sized popups with no scrollbars; 3) always keeping the switchboard form open, allowing the popups to cover it (when I exit, the switchboard appears with no flicker/resizing).
The only remaining problem is that the Form Open code executes so fast that the form becomes visible while it is opening (maximizing/resizing). Is there something I can add betweeen DoCmd.Maximize and DoCmdClose to slow it down, allowing the form to fully maximize before it becomes visible?
Private Sub per_Click()
DoCmd.OpenForm "Permitswtchbrd", , , , acHidden
DoCmd.Maximize
Forms!Permitswtchbrd.Visible = True
DoCmd.Close acForm, "Mainmenu", acSaveNo
End Sub
Thanks.
Jay