So I'm working on a new project and trying to use the tab control as a way to move from one process to another. The problem is when i have the tab alignment set to top or bottom the color matches the form color, but when i change the alignment to left or right, it defaults to the control color. On another test script i am using the DrawItem to change the color of the tabs, which works great. But Is there a way to change this color on the tab control when the alignment is set to right or left.
TabControl Left Alignment
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: TabControl Left Alignment
Does anyone have a code example to do this? Right now i have the code to change the tab colors, but cant figure out how to change the background of the tab control itself. When i try to just use the $tabcontrol1.BackColor, but it doesnt take. i think its a read only property.