Re: Force users to use the enter key
From: Peter Castlehouse (pcastlehouse_at_nospam.com)
Date: 11/23/04
- Next message: Nikos Yannacopoulos: "Re: Pressing Enter rather than click with mouse"
- Previous message: Albert D. Kallal: "Re: comment out code"
- In reply to: Peter Castlehouse: "Force users to use the enter key"
- Next in thread: Peter Castlehouse: "Re: Force users to use the enter key"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Nov 2004 20:47:35 +1100
Hi all,
I just worked it out! d'oh
In any field but the one I am leaving, I can add this to the 'On MouseDown'
event
msgbox "don't use the mouse!"
me.field_that_person_has_clicked_on.setfocus
cheers anyway all
DubboPete
"Peter Castlehouse" <pcastlehouse@nospam.com> wrote in message
news:eeDod.416$2j4.4755@nnrp1.ozemail.com.au...
> Hello all,
>
> Hope your day has been or will be as good as mine has been so far!
>
> Is this one possible?
>
> I am trying to trap if a user is swapping between the keyboard and the
> mouse when completing a data entry form, and if they are (to navigate to
> the next field) encourage them to use the keyboard, much the same as they
> would when word processing.
>
> Example : includes fields [firstname] and [surname]
>
> User enters First name in [firstname]
>
> (then selects to navigate to [surname] using the mouse, instead of
> pressing enter...
> which obviously entails hand leaving the keyboard, locating the mouse,
> finding the mouse
> pointer on-screen, then clicking the [surname] field! PHEW! )
>
> Msgbox "This is your friendly programmer here. Press enter, don't use the
> mouse ya goose!", vbexclamation
>
> I would of course come up with a more friendly message than the one above,
> and I hope you get my drift.
>
> TIA
>
> DubboPete
> basking in 27ºC spring - (SIA - sorry in advance!)
>
- Next message: Nikos Yannacopoulos: "Re: Pressing Enter rather than click with mouse"
- Previous message: Albert D. Kallal: "Re: comment out code"
- In reply to: Peter Castlehouse: "Force users to use the enter key"
- Next in thread: Peter Castlehouse: "Re: Force users to use the enter key"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|