background picture on form

G

Gelpaks

I'm making a video library db and have a picture as the background for my
form. My problem is when I go through the list of videos on this form, it
doesn't do it smoothly. The background picture disappears for a split second
and other controls & borders seems to flash during the transition. Is there a
way to stop this from happening? Or is this what happens when pictures are
used for the background? Also, another small question: How do I change it so
the setfocus is not on the first text box when the form loads? It highlights
the entire text and it's driving me crazy trying to figure out how to keep
that from happening!
 
M

Maurice

Depends on the resolution you use for the image. Try to decrease the
resolution of the image.

When a form opens it sets focus to the first field. If you don't want that
set the property of that specific field - tabstop=no. Remember that access
will autom. set the focus to the next available field.

hth
 
F

fredg

I'm making a video library db and have a picture as the background for my
form. My problem is when I go through the list of videos on this form, it
doesn't do it smoothly. The background picture disappears for a split second
and other controls & borders seems to flash during the transition. Is there a
way to stop this from happening? Or is this what happens when pictures are
used for the background? Also, another small question: How do I change it so
the setfocus is not on the first text box when the form loads? It highlights
the entire text and it's driving me crazy trying to figure out how to keep
that from happening!

Add an unbound text control to the form.
Set it's width to 0" and it's height to 0"
Name this control "GoHere"
Set it's Tab Index to 0.
Delete it's attached label.
Code the form's Current event:
Me![GoHere].SetFocus
 
G

Gelpaks

What resolution would you recommend?

Maurice said:
Depends on the resolution you use for the image. Try to decrease the
resolution of the image.

When a form opens it sets focus to the first field. If you don't want that
set the property of that specific field - tabstop=no. Remember that access
will autom. set the focus to the next available field.

hth
 
G

Gelpaks

Fredg - Worked like a charm! Thanks so much for your help :)

fredg said:
I'm making a video library db and have a picture as the background for my
form. My problem is when I go through the list of videos on this form, it
doesn't do it smoothly. The background picture disappears for a split second
and other controls & borders seems to flash during the transition. Is there a
way to stop this from happening? Or is this what happens when pictures are
used for the background? Also, another small question: How do I change it so
the setfocus is not on the first text box when the form loads? It highlights
the entire text and it's driving me crazy trying to figure out how to keep
that from happening!

Add an unbound text control to the form.
Set it's width to 0" and it's height to 0"
Name this control "GoHere"
Set it's Tab Index to 0.
Delete it's attached label.
Code the form's Current event:
Me![GoHere].SetFocus
 
G

Gelpaks

The one I'm using now is a 320 X 214 bitmap. Is it possible it's due to the
pictures of the video covers that I have load onto the form? Most of those
are 144 X 204. Should I try to make those a lot smaller?
 
M

Maurice

Hmm, size might not be an issue as you describe it. It could be the amount of
pictures that could be the problem. On that note I can only advise to check
by making a copy of the form with only the background image and nothing else
on the form. Check how it reacts then. If it goes smoother you know where the
pain is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top