CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

Change TabControl Tab Font without changing whats in tab topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2010, 11:13 AM
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jgvicke is on a distinguished road
| More
Change TabControl Tab Font without changing whats in tab

I have run across an odd problem with the TabControl. If you change the font of the TabControl (only wanting to change the font of the tab text themselves) it changes the font of everything in the page.

You can see this effect easily, create a new form, drop a tab control on the form, and drop a label onto the visible tab page.

Select the tab at the top to select the entire tab control, in the properties manager change the font size to some large value. You will see that the font of the tabs gets bigger, but so does the label font.

I know you can override the draw with a custom tab which should fix this, but I like the way the default tabs look. If someone has the code to make a custom tab look like the default, but let me override the font that it draws, that would be one ideal solution. The most Ideal solution would be to somehow change the tab font without effecting everything in the page.

Thanks,

John Vickers
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A listview with bigger font and space between items zspirit MFC Programming 0 08-31-2010 12:12 PM
Whats up Everybody! liawayRak Introduce yourself 1 12-09-2009 09:46 AM
Hey whats up everybody? BlueHornet Introduce yourself 4 07-18-2009 01:07 PM
Dehighlighting a Tab in TabControl manmfc MFC Programming 0 09-22-2008 08:47 AM
VGA BIOS 1110h - Load User Font in Win32 app FULLSCREEN mode Tekri C Programming 0 09-20-2006 08:35 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 04:21 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board