SearchPage Event

Fired for every page returned from a search operation.

Syntax

type TSearchPageEvent = procedure (
  Sender: TObject;
  MessageId: Integer;
  const DN: String;
  ResultCode: Integer;
  const ResultDescription: 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Delphi Edition - Version 20.0 [Build 8307]