I need to execute a function when the tab key is pressed....
The function needs only be executed while a combobox has the focus. When Tab is pressed the focus should go to a treeview..

The current status is that on pressing tab the focus goes to the treeview. I can't get the code to be axecuted though...

I tried the forms keydown and keypress as well as the comboboxes keydown and keypress...

Anybody got a clue ??