short cut keys not working

2 posts, 0 answers
  1. TAMILARASAN
    TAMILARASAN avatar
    12 posts
    Member since:
    Jan 2018

    Posted 15 Sep 2018 Link to this post

     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

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3331 posts

    Posted 17 Sep 2018 Link to this post

    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.
Back to Top