Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting color for a tab control

Status
Not open for further replies.

PeteG

Programmer
Feb 23, 2001
144
GB
Hi,
I am trying to make the color properties of my app configurable, ie I specify the back and fore color in a config file and this is used to set the properties for all of my forms and controls.

The only problem I have is when it comes to the tab control. I can't seem to set the controls colors at all. The tab pages are fine but, as the underlying tab control isn't set, it doesn't look very professional. Am I missing something - this should be easy, surely?! I thought it would inherit the colors from the form whose Controls collection it has been added to but doesn't seem that way....
 
Go to the Microsoft Website and download the .Net Framework v your version ( 1.1, 2.0 ) SDK. the sdk has an example of just about every class, struct, method, and property that exists. it also listst the members of every object in the entire framework
 
I can see all of the members/properties and have also had a read through the overview that is provided. It just doesn't appear that the tab control itself exposes any colour properties and always seems to inherit the ambient colour of the Windows scheme. Seems rather odd?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top