SearchPanel - Select Search Panel via ctrl+F

Posted by: santer.p75 on 29 August 2023, 6:00 am EST

    • Post Options:
    • Link

    Posted 29 August 2023, 6:00 am EST

    Hi,

    i trie to select the search panel via the keys ctrl+f.

    Private Sub frmMain_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown

    If e.Control = True And e.KeyCode = Keys.F Then

    grdSearch.Select()

    End If

    End Sub

    Put the Search Panel wont be activ when i use the select function.

    Is there an other way to to jump into the search panel with a shortcut?

    RegardsSelectearchPan.zip

  • Posted 30 August 2023, 11:19 pm EST

    Hi,

    To focus the search panel using the Ctrl+F shortcut, you can handle the KeyDown event and call the Select() method of the underlying C1ComboBox. Please see the updated sample project for reference.

    SelectearchPan_Updated.zip

    Best Regards,

    Kartik

  • Posted 31 August 2023, 3:03 pm EST

    Thank You Kartik!

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels