Hello NG,

i have a form (c#) with a tab control.
If I change the weight of the font in the tab control all other fonts in the
form (e.g. labels) also become this weight.
It is a inheritence.

How can i turn off this?


Thanks, Roland

Re: Turn off inheritance of properties (e.g. Font weight) by hirf-spam-me-here

hirf-spam-me-here
Wed Jun 02 12:52:19 CDT 2004

* "Roland Müller" <keine@wegenspam.de> scripsit:
> i have a form (c#) with a tab control.
> If I change the weight of the font in the tab control all other fonts in the
> form (e.g. labels) also become this weight.
> It is a inheritence.

AFAIK, that's only possible by cloning the 'Font' objects of the
controls and resetting them after changing the container's font.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>