In my databaseprogram I use several forms that function as menu's.
During startup of the databaseprogram, all this forms are opened but remains invisible. Only the first menuform is opened and made visible.
When i want to switch from one such a menuform to another, i need to click the appropriate MenuItemButton on the form. In the click-event of such a button i have the following code:
Application.Echo False
me.visible = False (me = the form from wich i switch)
forms!frmmenu.visible = True (frmMenu = the form to switch to)
Application.Echo True
However, each time a switching from one form to another takes place, for a very short time i see an annoying white surface practically as large is the form itself.
What to to to solve this flashing ?
During startup of the databaseprogram, all this forms are opened but remains invisible. Only the first menuform is opened and made visible.
When i want to switch from one such a menuform to another, i need to click the appropriate MenuItemButton on the form. In the click-event of such a button i have the following code:
Application.Echo False
me.visible = False (me = the form from wich i switch)
forms!frmmenu.visible = True (frmMenu = the form to switch to)
Application.Echo True
However, each time a switching from one form to another takes place, for a very short time i see an annoying white surface practically as large is the form itself.
What to to to solve this flashing ?