form -- not justifying/positioning to upper left corner

R

Rebecca

I had to redo a form (that has multiple tabs that take up most of the page,
if that's relevant). The new form is not justifying (positioning?) to the
upper left corner -- when I open it, it centers on the tabs, not on the top
of the actual form.

It's frustrating because the old form opened properly (normally). But with
the new form, every time I use it, I have to scroll both left and up to get
to the top left corner.

I checked all items in properties for both forms -- they're the same. Also
checked properties for the tabs on both forms--they're the same.

Any idea on how to fix it so it opens normally--to the upper left corner?

Thanks.
 
J

Jeff Boyce

If I had to guess, your form's "Center" property is set to "Yes".

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
M

MikeJohnB

I have come across this even when the form property is not set to centre. The
way I overcame it was to put an unbound text box in the top left hand corner
of the form. Make its width value 0 (effectively its hidden but not actually
hidden as a hidden control cannot take focus). In the on open event of the
form, set focus to the unbound text box. The form should then jump to justify
top left. In the text box's on got focus event, pass the focus to the Control
you wish to take the cursor.

I hope this works in your case, try it out.
 
R

Rebecca

I got it!

No, the problem isn't whether "center" is set to Yes or No--I tried both ways.
Mike--your suggestion led to my solution; it didn't work with using the On
Open (I even made a macro), but that may be because I haven't tried it before.

But what creating the text box did is add a new item to put in first place
(ordinally) in the Tab Order -- the unassigned label that was heading the
form didn't show up, so the first item in the Tab Order was the multi-tab
pages; so that's why it promptly jumped to there upon opening.

Whew! It was driving me crazy because I couldn't understand what was wrong.
I still don't know why the old form didn't have this problem and this new
(identical) one did. But glad I got your input so I could finally fix it.

Thanks,
Rebecca
 

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