Last Updated: 15 Aug 2017 10:54 by ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 04 May 2017 06:28
Category: Panel, CollapsiblePanel, Label, GroupBox
Type: Bug Report
FIX. RadLabel - next control is activated when a mnemonic key is pressed without pressing Alt
Please refer to the attached gif file and sample project. The keyboard navigation is enabled for the items in RadCheckedListBox. However, if you press "N" (without pressing ALT) it doesn't select an item starting with "N" but selects the text box since the RadLabel's mnemonic key is "N".

Public Class MyLabel
    Inherits RadLabel
    Protected Overrides Function ProcessMnemonic(charCode As Char) As Boolean
        If Not (Control.ModifierKeys & Keys.Alt) <> Keys.Alt Then
            Return False
        End If

        Return MyBase.ProcessMnemonic(charCode)
    End Function
End Class