image flicker

NigelShaw

Registered User.
Local time
Today, 21:38
Joined
Jan 11, 2008
Messages
1,575
Hi,

i have some good bmp images on my buttons in my form however when i requery, they all flicker. Can this be prevented? An alternative would be to use just the image but it think i'd get the same anyway.

While im on the point, why is the use of imges so limiting? if you have a button on its own and mouse over, you get a definate visual change as the button changes colour. Add an image to the very same button and the mouseover effect disappears!!

Any help appreciated


Cheers

Nigel
 
Hi Nigel,

Flickering is hard to diagnose.

Does this form contain a Tab Control?

What version of Access are you using? I've just tested it in 2003 and there's a visual effect with or without an image.
 
Hi

i dont have a tab control. my form is structured like-

MainForm
6 buttons with images
MainformSubform
6 buttons with images

i cannot get a visual effect at all witth an image in the button. i have even changed the 'Use windows themed effects' in the options menu.

i am using 2007

i dont get a flicker while using the form, its only with a requery. im requerying as i need to visually update a combo with new data when a record changes at its not bound



Cheers

Nigel
 
Why not Requery the combo box alone? Perform this in the After Update event of the Form in concern.

Do any of the controls on the subform or main form have calculated Control Sources, i.e. beginning with =?
 
Why not Requery the combo box alone? Perform this in the After Update event of the Form in concern.

Do any of the controls on the subform or main form have calculated Control Sources, i.e. beginning with =?

Hi

i tried that and still managed to get a flicker. none of the text boxes are calculated yet as everything is inputted by code but there will eventually be 6 boxes with calculated fields.

does that cause a problem then?


cheers

Nigel
 
i tried that and still managed to get a flicker.
I suspect corruption. I would be inclined to create a new database shell and import your objects into that. See if that helps.

But before you do that, try this:
Code:
Application.Echo False
Me.[COLOR=red]Combobox[/COLOR].Requery
Application.Echo True

none of the text boxes are calculated yet as everything is inputted by code but there will eventually be 6 boxes with calculated fields.

does that cause a problem then?
Yes, I've found this to be a cause of flickering. Another thing that causes flickering is when you're changing the visibility of the form's horizontal or vertical scroll in code. Are you doing this?
 
Hi,

no im ont doing that. figured the mouseover issue. i turned the background to transparent as i didnt want to see the border when not in focus. guess you cabt have everything huh?

Ill try your proposed solution now


cheers

n
 

Users who are viewing this thread

Back
Top Bottom