API:Vcl.CheckLst.TCheckListBox.OnDataFind
Delphi
property OnDataFind: Integer read FOnDataFind write FOnDataFind;
C++
__property OnDataFind;
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
| event | published | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
Beschreibung
Tritt auf, wenn ein virtuelles Listenfeld den Index eines Eintrags über dessen Text ermitteln muss. {{#multireplace:Vcl.CheckLst.TCheckListBox.OnDataFind|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} erbt von {{#multireplace:Vcl.StdCtrls.TCustomListBox.OnDataFind|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Der folgende Inhalt bezieht sich auf {{#multireplace:Vcl.StdCtrls.TCustomListBox.OnDataFind|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Tritt auf, wenn ein virtuelles Listenfeld den Index eines Eintrags über dessen Text ermitteln muss.
Sie müssen eine Ereignisbehandlungsroutine für OnDataFind bereitstellen, damit die dynamische Zuordnung eines Listeneintrags zu einem Index möglich ist, wenn die Eigenschaft Style den Wert lbVirtual oder lbVirtualOwnerDraw hat.
OnDataFind ist eine Ereignisbehandlungsroutine des Typs Vcl.StdCtrls.TDrawItemEvent.