Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox and optiongroup BUGS ???
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00035008
Message ID:
00036923
Views:
29
>>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform