>> Application.Echo

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I have an access 2003 form with a tab control. A listbox allows users to
move from one record to another. Even using Application.Echo off before
moving to the selected record there is still a screen 'jump' at
Application.Echo on. That is even though the position of all controls has
remained the same. Its as if the form is not visible whilst the code is
running. The change in visible state of the form is perceived as a 'screen
jump'.

Any ideas or suggestions appreciated. :-)

Many thanks,
Jonathan
 
In
Jonathan said:
Hi, I have an access 2003 form with a tab control. A listbox allows
users to move from one record to another. Even using Application.Echo
off before moving to the selected record there is still a screen
'jump' at Application.Echo on. That is even though the position of
all controls has remained the same. Its as if the form is not visible
whilst the code is running. The change in visible state of the form
is perceived as a 'screen jump'.

Any ideas or suggestions appreciated. :-)

In my experience, depending on your video driver, a "screen jump" is to
be expected when you use Applicaton.Echo False/True. Rather than trying
to stop that, may I suggest we figure out what's going on when the user
clicks the listbox to "move from one record to another"? What's the
code that is executed, and what do you see while it's running, that you
don't like?
 
Dirk Goldgar said:
In

In my experience, depending on your video driver, a "screen jump" is to
be expected when you use Applicaton.Echo False/True. Rather than trying
to stop that, may I suggest we figure out what's going on when the user
clicks the listbox to "move from one record to another"? What's the
code that is executed, and what do you see while it's running, that you
don't like?

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
Hi Dirk, thanks for your suggestion.

I have a form with a light blue background. This form contains a tab
control. Each page has an image in light blue so that the background of a
page matches the form background.

When the background image is removed from a page, the flickering does not
occur (or is not apparent, which from a users' perspective is the same
thing!).

I changed the image from .jpg to .bmp and there was not difference. There is
a flicker of ghost controls that don't actually exist on the active page. I
removed 2 of the 4 pages and found that this stopped the flicker (possibly
because Access was trying to paint these controls... in memory?). Which is
consistant with this being a problem only for forms with tab controls.

So I guess the choice is information (have all pages) or presentation
(remove pages)! :-)

Jonathan
 
Back
Top