s.k.paul
s.k.paul

Reputation: 7301

Krypton WinForm controls are readonly in vs2010

I've got an old project to modify which was designed with ComponentFactory's Krypton toolkit v 4.3.2.0.

I opened it with VS2017. No problems to build and run the project. But in design mode, I can't select any krypton controls on the form. Even if I change the form size, it gives readonly control collection exception.

Any idea?

Upvotes: 0

Views: 485

Answers (1)

Pankwood
Pankwood

Reputation: 1878

I got the same error using VS2019. It seems to be an incompatibility because KryptonHeaderGroup doesn't accept child controls.

I've solved my problem with the code below on MyFile.Designer.cs:

kryptonHeaderGroup1.Panel.Controls.Add(new KryptonButton()); 

If you want to share your code, I could be more specific.

Upvotes: 0

Related Questions