Thanks for sugestion but it didn't works. I try both methods -> Your & this of James Edgar. I forgot to tell that I put the TreeView in my calss called "SelectStruct". The form I use previewing key press (KeyPreview = .t.).
In Keypress method nothing happens when pressing the F1 key. I put WAIT WINDOW message on it but :-(((.
ON KEY LABEL in GotFocus doesn't works also, snip, snip ...
Thanks again Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.