Hello,
maybe somone can help me with this little problem.
I have a Groupbox with several RadioButtens in it. Then I added a RadShortCut to the GroupBox and I want the first RadioButton in that GroupBox to be focused.
This works in principle, the RadioButton gets the focus, but the cues are not shown for the focused RadioButton. This is not the expected behaviour, so the user cannot see that he has entered the GroupBox.
Only when using the TAB key to move to the GroupBox the cues are shown. I want to show the cues programmatically. Is there an option to do that?
I used the following code:
Thank you for any hint.
Cheers Roberto
maybe somone can help me with this little problem.
I have a Groupbox with several RadioButtens in it. Then I added a RadShortCut to the GroupBox and I want the first RadioButton in that GroupBox to be focused.
This works in principle, the RadioButton gets the focus, but the cues are not shown for the focused RadioButton. This is not the expected behaviour, so the user cannot see that he has entered the GroupBox.
Only when using the TAB key to move to the GroupBox the cues are shown. I want to show the cues programmatically. Is there an option to do that?
I used the following code:
Imports Telerik.WinControls Public Class Test4 Private Sub Test4_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ThemeResolutionService.ApplicationThemeName = "Desert" RadGroupBox1.HeaderText = "<html><u>R</u>adGroupBox1" RadGroupBox1.RootElement.Shortcuts.Add(New RadShortcut(Keys.Alt, Keys.R)) AddHandler RadGroupBox1.RootElement.Click, AddressOf RadGroupBox1_Click End Sub Private Sub RadGroupBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadGroupBox1.Click RadRadioButton1.Focus() End Sub End Class
Thank you for any hint.
Cheers Roberto