|
Guest
|
Hi,
I have a TabControl in my application. TabControl has Font property
which I would like to use for most of the controls within TabControl.
However, for a particular DataGridView I would like to change the
font. I find that Font property of that DataGridView is not taking
affect at all.
I tried to debug this and found that at the end of InitializeComponent
for TabControl there is a code that read something like
this.Font = new System.Drawing.Font("Microsoft Sans
Serif", 9F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
This statement override the Font value for DataGrid View. Any help you
can give is highly appreciated. I am using C# in .Net 2.0.
Thanks,
manjub |
|
|