08-19-2009 10:42 AM
How can I change the font/color/size of tab controls independently?
When I change one of these attributes, it applies to all tab controls...
Thanks for the help!
Solved! Go to Solution.
08-19-2009 10:47 AM
08-19-2009 11:24 AM
christophe69000 wrote:How can I change the font/color/size of tab controls independently?
When I change one of these attributes, it applies to all tab controls...
Thanks for the help!
Tim handled the tab color side of this Q.
If you are asking about the text that labels the tabs, they all have to be the same.
If you really want that and can settle for setting them at run time you can use
Advance >>> Tab layout >>> image only and use your own image to make it look like different sizes and fonts.
01-21-2024 07:25 PM - edited 01-21-2024 07:26 PM
I know this is a really old post but I couldn't help but answering it because it seemed it didn't get the full answer. The task is pretty simple you want to resize the text of the Tab Control's pages but if you select the Tab Control you are selected the Tab Control AND all the controls on the tab (which is really annoying, copying and pasting just a tab copy and pastes all the controls for example). So here is how you deal with Tab Controls.... Make them a Typedef.
Then when you want to modify or just copy the Tab Control you go to the Typedef. For working with characteristics of the Tab Control like Color/Font Size etc, you simply change it on the typedef. Now it has to be a Strict Type for those changes to take effect. One annoyance of doing this is that your size of the Tab Control and ALL the attributes will revert to what's in the Strict Type Def. But I usually change it BACK to a regular Type Def for another annoyance: Adding Pages to a strict Type Def Tab Control. When you do this, sometimes it does weird things with an already existing Tab Control like moving controls off or onto other pages. But if you do this when it is a Typedef, it doesn't do that. But for the question at hand, it is simple. Go to the typedef, make the changes, and save (as a Strict Typedef) and go back and then go back if you want to to turn it back to a regular Type Def, if you want
01-22-2024 01:28 AM
If you only want to change the font of the text in the tabs of the tab control you can simply select the string in a tab like when you want to change the text itself and then apply the font settings to it,
If you want to change fonts of one or more controls on a single tab page, select them (lassoing is one way to select more then one or you can add and remove controls with shift-select to a selection) and then apply the font changes.