Completed
Last Updated: 20 Jul 2016 09:22 by ADMIN
ADMIN
Hristo
Created on: 18 Jul 2016 11:03
Category: Panel, CollapsiblePanel, Label, GroupBox
Type: Bug Report
0
FIX. RadPanel - if mnemonics are enabled in the controls added to the panel, they are not processed in backward order
How to reproduce: check the attached project

Workaround: use a custom RadPanel control:
public class MyRadPanel : RadPanel
{
    protected override bool ProcessMnemonic(char charCode)
    {
        if (!Control.IsMnemonic(charCode, this.Text))
        {
            return false;
        }

        if (!this.Enabled || !this.Visible)
        {
            return false;
        }

        Control parentInternal = this.Parent;
        if (parentInternal != null)
        {
            if (parentInternal.SelectNextControl(this, true, false, true, false) &&
                !parentInternal.ContainsFocus)
            {
                parentInternal.Focus();
            }

        }

        return true;
    }
}

(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments