Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Page Tab Background Color


Message #1 by "Maha Arupputhan Pappan" <mahap@p...> on Wed, 25 Sep 2002 09:05:06
Hi all,

Good day.

I have inserted a page tab control in a form. I wish to change the 
background color of just the page tab that I select.

How can I do that?

Thanks,
Maha
Message #2 by "Gregory Serrano" <SerranoG@m...> on Wed, 25 Sep 2002 13:17:39
Maha,

<< I have inserted a page tab control in a form. I wish to change the 
background color of just the page tab that I select. >>

I don't think you can change the color of just one of the tabs.  Someone 
correct me if I'm wrong.  The best you can do (if I'm right) is to place a 
very large rectangle object as the background of each tabbed section.  
Place all the controls in that tab in front of the rectangle.  Then when 
that tabbed section has the focus, change the color of the rectangle.  
When that tabbed section loses the focus, change the rectangle color again.

Greg

  Return to Index