Posted 31 July 2018, 4:18 pm EST
Hi
Inputpanel ErrorText do not work correctly when you add a form to dockingtab.
I think it have problem with TopLevel, means if form TopLevel = false, after set ErrorText on validation do not draw red rectangle, if you move mouse on the control you can see the tool tip error message.
Red Rectangle is problem.
IForm: A form have inputpanel with some textbox with some validation.
f = new IForm();
f.AutoScaleMode = AutoScaleMode.None;
f.FormBorderStyle = FormBorderStyle.None;
f.Dock = DockStyle.Fill;
f.TopLevel = false;
f.TopMost = false;
f.MenuID = type;
C1.Win.C1Command.C1DockingTabPage tab = new C1.Win.C1Command.C1DockingTabPage();
tab.Text = f.Text;
tab.Tag = type;
tab.Controls.Add(f);
FormsDockingTab.TabPages.Add(tab);
FormsDockingTab.SelectedTab = tab;
f.Show();