In Delphi XE, I try to implement an “instant search” function that is a bit like Firefox's “type search”, but is better illustrated by a similar function in the open source clipboard expander, Ditto :

There is a list of items that handle typical navigation events. However, any alphanumeric keys, as well as navigation and editing commands (right / left arrows, shift + arrows, backspace, delete, etc.) must be redirected to the edit box below the list. The OnChange event of the edit window will cause the list to refresh.
, . ( ) "", . , .
, - ( TcxTreeList) . ?
:
TcxTreeList , , , . SQLite . db.
, . VK_HOME VK_END, - . , , .
:
, , KeyDown, KeyUp KeyPress , :
type
THackEdit = class( TEdit );
procedure TMainForm.cxTreeList1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
THackEdit( edit1 ).KeyDown( Key, Shift );
end;
, . , TEdit , . SendMessage (THackEdit (edit1).Handle, WM_KEYDOWN, Key, 0) .