Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Bug: tabControl.EqualTabWidth Collapse All
Subject Author Date
Roman Bachmann Jun 29, 2009 - 12:58 PM

Good evening


I’ve just found a bug using a tabControl with EqualTabWidth = true.


If I use this option, I get a null-reference-exception. So I have to change the following code in the Designer.cs:

this.tabControl1.EqualTabWidth = true;

this.tabControl1.TabPages.AddRange(new Elegant.Ui.TabPage[] {this.tacExample1, this.tacExample2});


To this:

this.tabControl1.TabPages.AddRange(new Elegant.Ui.TabPage[] {this.tacExample1, this.tacExample2});

this.tabControl1.EqualTabWidth = true;


In this order, it works fine.

Technical Support Jul 6, 2009 - 1:23 PM

Thank you for reporting the bug. it is already fixed. Please download an updated Elegant.Ui.Common.dll assembly:

elegant-ui-common-3.2.1.zip