>>I have a MODAL form with checkbox and/or checkbox inside it,
>>when one of them has the focus and I press CTRL-W, the form loose the focus.
>>This only happens with these objects.
>>
>>Is this a real bug ??
>
>Marcelo,
>
>CTRL-W is the keystroke to close a modal form, it is equivalent to clicking the close button in the upper right corner of the fomr. The reason you see this only with certain controls is that some controls process keystorkes themselvs while others don't and so the keystroke gets passed onto to event handler in VFP.
Hi Jim,
I have a different but similar problem with Ctrl+S. It is a hot key in the menu to save the current record in the form. But I found that if the cursor is in
a non-empty text box. Pressing ctrl+s will not trigger my hot key action (ie.
to save current record) but would hightlight (selecting) the contents of the text box. Only when pressing ctrl+S again will trigger my hot key action. I even use OKL to trap the ctrl+S, same thing happens. Why?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement