[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Win.Viewer.ShowFindDialog

ShowFindDialog Method

ShowFindDialog()

Opens the Find Dialog to allow users to search for text within the report.

Declaration
public void ShowFindDialog()
Remarks

This method displays the Find Dialog, enabling users to input search queries for finding specific text within the currently loaded report. If the Find Dialog is already visible or if the UI is currently disabled, calling this method will have no effect. This functionality is particularly useful in scenarios where users need to quickly locate specific information within large reports.

Examples
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
    if (keyData == (Keys.Control | Keys.F))
    {
        viewer.ShowFindDialog();
        return true;
    }
    return base.ProcessCmdKey(ref msg, keyData);
}