>I have several forms in an application.
>Each form has a set of button. In some of these forms, there is a save button.
>In some form (the one with the save button), I would like to give the user the opportunity to press F5 instead.
>The problem is that if I do a ON KEY LABEL F5... in the init of the form, and if the user clic on another form (that doesn't have the save button), the ON KEY LABEL is still active.
>
>?Is there a way to specify a ON KEY LABEL that would be only effective in a particular form?
>?Alternatively, is there property in the button object were we can specify a keyboard shortcut such as F5?
>
>Thanks.
>Eric.
Use the GotFocus and LostFocus methods to set the OKL.
Mark McCasland
Midlothian, TX USA