Re: Highlighting tabs in a TabControl

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You could just use TabControlEX which is available from my downloads
section.
http://dotnetrix.co.uk/controls.html

This has the option to select TabColor and SelectedTabColor via the
properties in TabControlEX, or if these are left at default, the tabs are
drawn using their associated tabpages BackColor. (These are new properties
and I'm not sure I like the implementation, but I couldn't think of a better
way to achieve this common request).

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html


"rossum" <rossum48@xxxxxxxxxxxx> wrote in message
news:c69mb1pad551b7fbaoc3s7nb7i959o2cp5@xxxxxxxxxx
> On Thu, 23 Jun 2005 08:07:12 +0100, "Mick Doherty"
> <EXCHANGE#WITH@xxxxxxxxxxxxxxxxxxxxxxxxxx[mdaudi100#ntlworld.com]>
> wrote:
>
>>Only through ownerdraw. See the examples on my site:
>>http://dotnetrix.co.uk/tabcontrols.html
>
>
> Thanks for that Mick. I was afraid the answer was going to be along
> those lines.
>
> rossum
>
>
> The ultimate truth is that there is no ultimate truth


.



Relevant Pages

  • Re: Best method to hide/show a single tabPage in a Tab control?
    ... My TabControlEX is free and would probably have done what you want. ... Mick Doherty ... >I was all over the Internet yesterday looking for this, ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: Configure TabControl
    ... Use TabControlEX which has these options built in. ... Mick Doherty ... How can I set the BackColor ande ForeColor of the tabs of a TabControl? ... them, but this affects only the content of the TabPages, not the tabs. ...
    (microsoft.public.dotnet.framework.windowsforms)