SearchPage Event
Fired for every page returned from a search operation.
Syntax
type TSearchPageEvent = procedure SearchPage(Sender: TObject; MessageId: Integer; const DN: String; ResultCode: Integer; const Description: String;var CancelSearch: Boolean) of object;property OnSearchPage: TSearchPageEvent read FOnSearchPage write FOnSearchPage;
Remarks
This event is where the client can decide whether to continue with the Search operation or not. The signature is very similar to the SearchComplete event, with the addition of a CancelSearch parameter. If the search should be canceled (no more pages), the CancelSearch parameter should be set to true.