ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Viewer.Win Assembly / GrapeCity.ActiveReports.Viewer.Win Namespace / Viewer Class / ShowFindDialog Method
Example

In This Topic
    ShowFindDialog Method
    In This Topic
    Opens the Find Dialog to allow users to search for text within the report.
    Syntax
    'Declaration
     
    Public Sub ShowFindDialog() 
    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.
    Example
    private void arv_Load(object sender, System.EventArgs e)
    {
        rptDD rpt = new rptDD();
        rpt.Run();
        arv.Document = rpt.Document;
        arv.ShowFindDialog();
    }
    Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
        Dim rpt As New rptDD
        rpt.Run()
        arv.Document = rpt.Document
        arv.ShowFindDialog()
    End Sub
    See Also