Problem with dropdown RxLib components and D6
Posted on 2002-05-27
I'm using D6 with RxLib. I set up my forms to respond to Esc key with closing:
procedure TForm2.FormKeyPress(Sender: TObject; var Key: Char);
if(Key = #27) then
Key := #0;
It works properly, but when RxLib dropdown component (for instance RxLookupEdit or DBDateEdit) is dropped down and the user presses Esc, he gets the error with the message: 'Cannot focus a disabled or invisible window'.
It does not happen with Delphi dropdown components.