In Architect I create new screen, add tabControl, save and close. When I open screen again, error occurs:
Form Generating Failed
Error occured while generating form. ControlSet: ‘BusinessUnit/BusinessUnitRootControl/TabControl’.
Cannot add ‘AsTabControl’ to TabControl. Only TabPages can be directly added to TabControls.Stack trace
at System.Windows.Forms.TabControl.ControlCollection.Add(Control value)
at Origam.Gui.Designer.ControlSetEditor.LoadControl(ControlSetItem cntrlSet)
error TabControl.txt (5.1 KB)
I doesn’t matter if TabControl is empty or some Screen section is added to it, error always occurs.
It happens in both Architect 2022.1 and 2022.2.