>I have a form with Keypreview set to .T. on it. On this form I have a treeview control. I have code that needs to fire on specific keypresses (function keys), but, the form doesn't get any keypresses because they are being stolen by the treeview control, AND, the keys I need to fire on can't be trapped by the keypress of the treeview (F5, F6, etc).
Hi Paul,
I have that problem with almost any ActiveX control on my forms. My work around is the use of a menu shortcut.
HTH Robert
I've acquired quite a taste for a well-made mistake... [Fiona Apple]