>>>In the keypress of the form. The keypreview property is on because we want to trap certain keypresses, (such as SF5)
>>>
>>
>>You might consider this in the form.Init()
>>
>>
ON KEY LABEL "{SHIFT+F5}" DO whatever
>>
>>>Where else other than a keypress event can you determine keypresses.
>>
>>You could (e.g.) also trap LASTKEY() in a loop to give the user an out in a potentially long running loop.
>
>Sorry - that should be
>
ON KEY LABEL SHIFT+F5 DO whatever
Today I saw couple of times: 'Weaked (?) minds are alike' :)
If it's not broken, fix it until it is.
My Blog