Annoying bug at design time

Oct 19, 2009 at 10:41 PM

Hi,

I'm using VS2008, and I've come to an enormous bug : at design time, when I change Image or SmallImage property of a RibbonButton, the Ribbon control starts to behave like at runtime (buttons are clickable instead of selectable for changing properties). Then I just can save my work, close the form and open it again : the ribbon has disappeared !!!

In fact, every components of the ribbon are still in the code, but the master "ribbon" control was deleted from the "Form.Designer.cs" file. I have to put by hand the lines :

- this.ribbon1 = new System.Windows.Forms.Ribbon();

the whole block starting by :

//
// ribbon1
//
this.ribbon1 .......

and at the end :

this.Controls.Add(this.ribbon1);

Then I save and open the form again, here is everything back !

When finished, compiled etc. this is a wonderful control, but it is a real pain to use at design time !!!

Hope you'll find the bug !!!

Stéphane

Developer
May 16, 2013 at 12:27 PM
Hi, a new version of Ribbon is released. Please visit the new site for latest fixes, releases, information and downloads.
New site: http://officeribbon.codeplex.com/