This is a migrated thread and some comments may be shown as answers.

short cut keys not working

1 Answer 35 Views
Menu
This is a migrated thread and some comments may be shown as answers.
TAMILARASAN
Top achievements
Rank 1
TAMILARASAN asked on 15 Sep 2018, 11:26 AM

 I'm opening the sub forms in panel on the main form. The short cut keys are getting focussed only on main form & not getting focussed on sub forms in it.
This is the code to open the sub form in a panel on the main form :

Public Shared Sub ShowForm(form As RadForm, Optional FormType As Integer = 0)

        Dim i As Integer
        form.TopLevel = False
        frmMainMenu.rdpnlchild.Controls.Add(form)
        form.BringToFront()
        If FormType = 0 Then
            form.Show()
        ElseIf FormType = 1 Then
            form.ShowDialog()
        End If

    End Sub

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Sep 2018, 01:15 PM
Hello, 
 
The recommended approach for showing a form inside another form is as an MDI child. Thus, the respective shortcut for the menu item of the child form will be performed. Please refer to the following help article: https://docs.telerik.com/devtools/winforms/forms-and-dialogs/form/mdi 
 
I hope this information helps.

Regards,
Dess
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.
Tags
Menu
Asked by
TAMILARASAN
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or