Openedge Client crash for Docked Windows

2 posts, 0 answers
  1. Terry
    Terry avatar
    14 posts
    Member since:
    Feb 2018

    Posted 07 Nov 2018 Link to this post

    We have found during testing that ToolWindows can be moved completely out of the container and act as its own window, which is awesome.

    However when the form is closed the entire openedge session crashes.

    Is there a way during the FormClosing event to close these windows?

  2. Hristo
    Admin
    Hristo avatar
    1520 posts

    Posted 08 Nov 2018 Link to this post

    Hello Terry,

    We are not aware of a similar issue with the dock control and the floating windows. Closing the form with the RadDock will also close and dispose of the floating windows. The issue might be related to the current application set up in the OpenEdge environment. You can try handling the FormClosing event, and then iterate each of the active floating windows: 
    public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent();
     
            this.FormClosing += RadForm1_FormClosing;
        }
     
        private void RadForm1_FormClosing(object sender, FormClosingEventArgs e)
        {
            foreach (FloatingWindow fw in this.radDock1.ActiveFloatingWindows)
            {
                fw.Close();
            }
        }
    }

    I hope this will help.

    Regards,
    Hristo
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top