Connecting Tech Pros Worldwide Forums | Help | Site Map

Screen Flicker on Refresh

Member
 
Join Date: Mar 2008
Posts: 101
#1: Oct 22 '09
Hi,

Does anyone know how to prevent the screen from flickering when you refresh a form?

Many Thanks Phill
best answer - posted by NeoPa
Ah. That starts to make some sense.

I expect the refresh causes the image files (large and not held locally) to be redisplayed. As this takes up some time I would not be too surprised to hear that it fllickers sometimes. I'm not sure there's a reliable way to avoid this. It will be the pictures that is causing the whole process to be noticeable (Normally it just happens so quickly you wouldn't notice anything).

ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#2: Oct 22 '09

re: Screen Flicker on Refresh


Quote:

Originally Posted by phill86 View Post

Hi,

Does anyone know how to prevent the screen from flickering when you refresh a form?

Many Thanks Phill

I'm not sure how effective this will be, but you can turn Screen Echo OFF immediately prior to the Refresh, then turn it back ON again. It's worth a try, and can't harm anything.
Expand|Select|Wrap|Line Numbers
  1. Application.Echo False
  2.   Me.Refresh
  3. Application.Echo True
Member
 
Join Date: Mar 2008
Posts: 101
#3: Oct 22 '09

re: Screen Flicker on Refresh


Thanks Adezii

It did'nt really have much affect any other ideas?
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#4: Oct 22 '09

re: Screen Flicker on Refresh


Quote:

Originally Posted by phill86 View Post

Thanks Adezii

It did'nt really have much affect any other ideas?

I would like to see this first hand, any possibility of Uploading the Database?
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#5: Oct 23 '09

re: Screen Flicker on Refresh


This isn't behaviour I've ever noticed Phill. Does this happen to you a lot, or is it simply this one form?
Member
 
Join Date: Mar 2008
Posts: 101
#6: 4 Weeks Ago

re: Screen Flicker on Refresh


Hi,

Thanks for the response and apologies for not getting back to you sooner

The form that I am using has an image ,png that I am using as a background which I have controls like combo boxes and command buttons that sit on top of the background I am also using another .png file as a logo and text boxes that I change the background colour using conditional formating these all disapear and re-appear momentarily when the form is refreshed.

There is also text that sits on the images but this does not flicker.

Many Thanks Phill
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#7: 4 Weeks Ago

re: Screen Flicker on Refresh


Ah. That starts to make some sense.

I expect the refresh causes the image files (large and not held locally) to be redisplayed. As this takes up some time I would not be too surprised to hear that it fllickers sometimes. I'm not sure there's a reliable way to avoid this. It will be the pictures that is causing the whole process to be noticeable (Normally it just happens so quickly you wouldn't notice anything).
Member
 
Join Date: Mar 2008
Posts: 101
#8: 3 Weeks Ago

re: Screen Flicker on Refresh


Hi Neopa

Thanks for the reply I have tracked it down to one particular .png picture file that is causing the issue if I take it off the form it works fine I will just have to find a different image that does not cause the problem.

Many thanks

Phill
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#9: 3 Weeks Ago

re: Screen Flicker on Refresh


Quote:

Originally Posted by phill86 View Post

Hi Neopa

Thanks for the reply I have tracked it down to one particular .png picture file that is causing the issue if I take it off the form it works fine I will just have to find a different image that does not cause the problem.

Many thanks

Phill

I had a similar problem with *.jpgs probably because of the compression/decompression algorithm involved. I switched to *.bmps and the problem no longer was visible. Not sure if this is relevant, but thought that I would mention it.
Reply