Just use ON KEY LABEL - it overrides any default behaviour.
>Thank you for your advice.
>
>
>I try keypress with keypreview, but problem is I still cannot use F1,F2,F10...
>How can I disable the default F1, F2 F10 behaviour ?
>
>TIA.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.