Problem with visible/invisible and changing control height

M

mscertified

On a tab of a tab control I have two text areas one above the other. When the
user double-clicks in the top pane, I expand it to fill the whole area. When
the user double-clicks in the bottom pane, I expand it to fill the whole
area. When the user double-clicks in an expanded pane, I revert back to the
dual-pane view. I do all this by manipulating HEIGHT. The problem is when I
am in the expanded pane view and I click in any other control, a horizontal
line appears in the pane just where the previous dividing line was between
the two panes. As soon as I click back in the pane, the line goes away. At
first, I thought this was because I was manipulating only the height and not
making the hidden control invisible. But making the hidden control invisible
did not make any difference.
Got any suggestions? I'm stuck.
 

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