Re: Question about On key F10
From: Dan Freeman (spam_at_microsoft.com)
Date: 12/13/04
- Next message: Paul Pedersen: "Re: included file; blob data"
- Previous message: Anders Altberg: "Re: 2 Gig (roughly) file size limit -- NOT DBF RELATED"
- In reply to: Eliseo Negrin: "Question about On key F10"
- Next in thread: Eliseo Negrin: "Re: Question about On key F10"
- Reply: Eliseo Negrin: "Re: Question about On key F10"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 13:35:06 -0800
You don't. F10 is reserved by Windows. (Try it in Word. It does the same
thing there.)
Dan
Eliseo Negrin wrote:
> Hello!
>
> I have a form in which I have assigned a method to be executed when I
> press F10. When I press F10 instead of calling the
> Form.KeyPress method and then the function that was assigned to the
> code, the cursor goes to the FILE in the main menu.
>
> I tried ON('KEY', 'F10') to see what was assigned to the F10 but it
> returns nothing.
>
> 1) How can I assign the F10 to be executed with the form instead of
> going to the main menu ?
>
> Thanks
> Eliseo Negrin
>
>
> *----------------------------------------------------
> *Code for KeyPress of the form is below
> *----------------------------------------------------
>
> KeyPress
> Lparameters nKeyCode, nShiftAltCtrl
>
> Do Case
>
>
> *---------------------
> * F10 - Clar all line
> *---------------------
> Case ( nKeyCode = -9 )
>
> NoDefault
> ThisForm.ClearTag()
>
>
> EndCase
- Next message: Paul Pedersen: "Re: included file; blob data"
- Previous message: Anders Altberg: "Re: 2 Gig (roughly) file size limit -- NOT DBF RELATED"
- In reply to: Eliseo Negrin: "Question about On key F10"
- Next in thread: Eliseo Negrin: "Re: Question about On key F10"
- Reply: Eliseo Negrin: "Re: Question about On key F10"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|