Completed
Last Updated: 20 Oct 2021 09:12 by ADMIN
Release R3 2021 SP1
David
Created on: 08 Oct 2021 05:20
Category: SyntaxEditor
Type: Bug Report
0
RadSyntaxEditor: OverloadListWindow is clipped and displayed off screen

When I setup and OverloadList, the OverloadListWindow follows the cursor and can move off screen so the user can't see/read the information that is presented.

Workaround: adjust the position of the overload window when it is shown:

            this.radSyntaxEditor1.SyntaxEditorElement.IntelliPrompts.OverloadListWindow.VisibleChanged+=OverloadListWindow_VisibleChanged;

        private void OverloadListWindow_VisibleChanged(object sender, EventArgs e)
        {
           ShapedForm f = sender as ShapedForm;
            Screen myScreen = Screen.FromControl(this);
            Rectangle area = myScreen.WorkingArea;
            if (f.Left + f.Width > area.Width)
            {
                f.Left = area.Width - f.Width -5;
            }
        } 

0 comments