Inputpanel ErrorText problem

Posted by: moridi on 31 July 2018, 4:18 pm EST

    • Post Options:
    • Link

    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();
    
    
  • Posted 1 August 2018, 6:05 am EST

    Hello,

    I used the same code but could not observe the issue with the latest (4.0.20182.314) builds. Kindly refer “InputPanel_ErrorText.gif” making use of the attached sample, which shows the procedure followed at my end. Please inform in case something is missing or share the modified sample so that we can observe the issue as well.

    This will help me assist you further in the correct manner.

    Best Regards,

    Esha

    InputPanel_ErrorText.zip

    C1InputPanel.zip

  • Posted 1 August 2018, 2:44 pm EST

    Hello

    I find the problem.

    If in your DockingTab change the RightToLeft=Yes

    you can not see the red rectangle.

    
    private void Form1_Load_1(object sender, EventArgs e)
            {
                c1DockingTab1.RightToLeft = RightToLeft.Yes;
                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);
                c1DockingTab1.TabPages.Add(tab);
                c1DockingTab1.SelectedTab = tab;
                f.Show();
    
            }
    
    
  • Posted 2 August 2018, 1:51 am EST

    Hi,

    On setting DockingTab.RightToLeft property, the issue could be observed. Hence, I am escalating it to the concerned team (Internal Tracking ID: 336743) and will let you know once I have any information.

    Best Regards,

    Esha

  • Posted 2 August 2018, 2:52 am EST

    Hi,

    Thanks

    For testing Check RightToLeft and RightToLeftAlign both to gather.

    Thanks

  • Posted 2 August 2018, 11:10 pm EST

    Thanks for the information. We are working on this issue.

    Regards.

  • Posted 22 September 2018, 3:58 pm EST

    Hi,

    Any progress?

  • Posted 24 September 2018, 2:58 am EST

    Hi Omid,

    I have replied to you through SupportOne case 344099:

    https://supportone.componentone.com/home/casedetail/344099

    Please continue the thread over there.

    Thanks,

    Pragati

  • Posted 15 November 2018, 12:52 am EST

    For general reference,

    The issue ‘ErrorText red rectungle was not shown when RightToLeft=Yes’ was fixed. In order to have fixed behavior, one can upgrade ComponentOne version to 2018v3 either using C1Live or downloading the latest builds from: http://prerelease.componentone.com/dotnet40/c1winforms/2018-t3/C1WinForms.4_4.0.20183.338.zip

    Best wishes,

    Ruchir

  • Posted 26 April 2019, 10:16 am EST

    it’s solved

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels