1

Topic: How to intercept pushing F1 the form

Read here this article Start of macroes Access by means of keyboard shortcuts Made all as there it is written. Included interception of pushing of keys on the form. But works nothing. In what there can be a business?
-------------------------------------------------------------
And you enclosed already the blood rouble in Bill Gates's 50 milliard state?

2

Re: How to intercept pushing F1 the form

Joss;
At least, key F1 is for certain already occupied . Who the first occupied, to that and . And  without adressof in  to make it does not turn out.
Theoretically, it is possible to try through winapi http://www.firststeps.ru/mfc/winapi/keyb/r.php?34 + the timer on the form.

3

Re: How to intercept pushing F1 the form

Joss wrote:

In what there can be a business?

4z4r wrote:

At least, key F1 is for certain already occupied

+
Them it was necessary for me much, but I and could not interrupt , there is shorter  such -
Any form also you start to stick into keys on what  the zero of emotions - those and can be used in the code

4

Re: How to intercept pushing F1 the form

And here in article it is described, what F1 it is possible to intercept through macro AutoKeys But I did not understand, how? Something  recently.

5

Re: How to intercept pushing F1 the form

Joss;
And still went  with  concerning  it is necessary to push at the left below button F that these buttons to include without clamped button F, these buttons are not pushed at all, in general there where  and the main functional on these buttons to thrust in  normal  USB easier

6

Re: How to intercept pushing F1 the form

Well, I do not know...
At me where it is necessary, the handling for F1 - all works.
Approximately so:

Private Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
..........
Select Case True
Case KeyCode = vbKeyF1
KeyCode = False
Call HelpCall ' here a call of my function
..........

Now tried to make AutoKeys (from article under the link), setting in this macro on F1 discovery of certain VBA unit is simple.
Too all works.

7

Re: How to intercept pushing F1 the form

Joss wrote:

Something  recently.

It is an old age... Unfortunately does not transit... smile))

8

Re: How to intercept pushing F1 the form

Here macro AutoKeys.

9

Re: How to intercept pushing F1 the form

__ Michelle;
Not, well so that... At all... I typed your code and instead of a macro hung out MsgBox, worked, here only then help  got out, and the HARDWARE at interception, simply type MsgBox and all is necessary... And I already  unrolled that... smile))

10

Re: How to intercept pushing F1 the form

Here it is possible  all from F1 to F12, are not intercepted 1,7,12

11

Re: How to intercept pushing F1 the form

vmag wrote:

... Worked, here only then help  got out, and the HARDWARE at interception, simply type MsgBox and all is necessary... And I already  unrolled that... smile))

And at me anything superfluous not  for some reason.
For this purpose KeyCode = False costs.
Now I will look at yours .

12

Re: How to intercept pushing F1 the form

vmag;
And now look.
How?

13

Re: How to intercept pushing F1 the form

vmag wrote:

are not intercepted 1,7,12

And still F11 - there is a DB window...

14

Re: How to intercept pushing F1 the form

[quote = __ Michelle] And now look.
How?

Well to you to tell... The Problem of the HARDWARE and is solved (on mine ), from me personally to you bow not the earth... With a coming holiday 8 Martha! Than all blessings and there is more row of worthy men!...