>>push key clear
>>on key label "Ctrl+S" oToolbar.tbSearch.Click
>>on key label "Ctrl+RightArrow" oToolBar.tbNext.Click
>>on key label "Ctrl+LeftArrow" oToolBar.tbPrev.Click
>>on key label "Ctrl+Home" oToolBar.tbFirst.Click
>>on key label "Ctrl+End" oToolBar.tbLast.Click
>>
>Cetin,
>
>DO NOT Use ON KEY LABEL unless you mean for the keys to interrupt running code. OKL is an intercommadn interrupt and as such it will interrupt running code and branch out to the OKL routine. What would happen if a vlaid for a control was running and the user pressed the OKL to go to the next record?
>
>The Keypress is THE way to do what Steve is asking about. OKL's are good for interrupting code only.
Yes Jim,
I could disable OKL where needed. But how could I differ between Ctrl+Rightarrow and Ctrl+B in keypress ?
Cetin