SearchButtonClicked Event (Window Object)

Sample Code - SearchButtonClicked Event

The SearchButtonClicked event occurs when the Search button is clicked.

Syntax
Event SearchButtonClicked (SearchString As String, 
useDefault As Boolean)
Parameters

SearchString

Specifies the string entered by the user that will be searched for.

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do not want the search for the string to occur).

Remarks

Before enabling this event, the HasSearchButton property of the PrintWindowOptions Object, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object, obtained through the EventInfo property of the Report Object. For more information, see Object Model Events.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com