You can always use ON KEY LABEL F10 KEYBOARD '{ALT+X}'. ON KEY LABEL can be tricky because it will actually allow an event to occur between lines of code. However, by using it to put a keystroke in the keyboard buffer you get around this problem because the Alt-X won't be processed until your program hits a wait state anyway.
>Dear all,
>
> For example, I have an exit button in my form, I set its caption = (Alt-\
>
>thanks
>Power