[AccessD] A2K: Trap Key stroke

Darren DICK d.dick at uws.edu.au
Sun Jan 4 05:50:28 CST 2004


Gustav
You Da Man
Thanks.....again
Legend be thy name

Many thanks

Darren
----- Original Message ----- 
From: "Gustav Brock" <gustav at cactus.dk>
To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com>
Sent: Sunday, January 04, 2004 10:39 PM
Subject: Re: [AccessD] A2K: Trap Key stroke


> Hi Darren
> 
>   KeyCode = 0
> 
> /gustav
> 
> 
> > Hello all
> > I have some key down code to trap key strokes. Pretty basic stuff
> > What do I type after I have trapped the key stoke eg F1 to stop any further processing?
> 
> > Many thanks in advance
> 
> > Darren
> 
> > EG  <snip>
> > Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
> 
> >         Select Case KeyCode
> >             Case vbKeyF1
> >             'What do I type here to stop the processing of (In this case F1)            
> >             'I DON'T wanna see the help screen
> >             Case vbKeyF2
> >             blah blah blah
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com


More information about the AccessD mailing list