Tab page label showing through?

  • Thread starter Thread starter Mamba
  • Start date Start date
M

Mamba

I am doing some changes on an old app that uses several tab pages in a
window.

TabPageA has a labelA that reads "blah blah blah"

When the user clicks a control to display TabPageB, TabPageA controls are
effectively hidden behind it, except for this label, which shows through
under the data grid control headers on TabPageB - almost as if the header
row was transparent.

I am explicitely setting lablA.visible to false when TabPageB displays, but
it still appears.

Any clues on what I am missing to get this thing not to display. I'd prefer
to not have to set the text property to "", then reset it again afterwards.

Tnx
 
I am doing some changes on an old app that uses several tab pages in a
window.

TabPageA has a labelA that reads "blah blah blah"

When the user clicks a control to display TabPageB, TabPageA controls are
effectively hidden behind it, except for this label, which shows through
under the data grid control headers on TabPageB - almost as if the header
row was transparent.

The most likely reason for that happening is that there are actually
multiple instances of the label, one on each tab page on which it's
visible.

Have you double-checked to make sure that the label is in fact always the
same instance for each tab page?

If that's not the problem, you will likely need to post a
concise-but-complete code sample that reliably demonstrates the problem.

Pete
 

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

Back
Top