label on top of subform

R

redFred

How does one ensure that a label remains on top of a subform in viewing mode?

I have sent everything to the back, brought the label to the front. Still,
subforms show through.

How do I prevent an underlying subform from showing through label?

Thanks.
 
K

Ken Snell \(MVP\)

When the subform has the focus, it will "show" through any object on top if
it. You'll need to put the label in the subform (or a copy of it) as well.
 
R

redFred

Thanks, Ken.

My label is made visible by code while the code runs, then invisible. I'd
like it to "cover" controls including subforms. I did set focus to a field
called txtHoldFocus but the subform still covers part of the label.

Is there another way?

Thanks.
 
K

Ken Snell \(MVP\)

Why not just manipulate the Visibility property of those controls in your
code? That may be easier and more suited for your desired result than using
a label as a "cover".
--

Ken Snell
<MS ACCESS MVP>
 

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