PC Review


Reply
Thread Tools Rate Thread

Disable the Tab Key

 
 
=?Utf-8?B?TmV3S2lkb250aGVCbG9jaw==?=
Guest
Posts: n/a
 
      20th Apr 2006
I have a form which is intended to display one record according the
parameter set on entry. At the foot of the form I have a button which, when
clicked, returns the user to the main menu. However, I have noticed that if a
user presses the tab key when this button has the focus the program moves
into an add new record position which is exactly what I don't want to happen.

How do I disable the tab key when this button has the focus?

Kind regards

Tony
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      20th Apr 2006
Tony, how about setting the form's Cycle property to:
Current Record

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"NewKidontheBlock" <(E-Mail Removed)> wrote in
message
news:49C84820-E651-4976-A90B-(E-Mail Removed)...
>I have a form which is intended to display one record according the
> parameter set on entry. At the foot of the form I have a button which,
> when
> clicked, returns the user to the main menu. However, I have noticed that
> if a
> user presses the tab key when this button has the focus the program moves
> into an add new record position which is exactly what I don't want to
> happen.
>
> How do I disable the tab key when this button has the focus?
>
> Kind regards
>
> Tony



 
Reply With Quote
 
=?Utf-8?B?TmV3S2lkb250aGVCbG9jaw==?=
Guest
Posts: n/a
 
      20th Apr 2006
Allen

Thank you so much. Perfect.

Isn't it the middle of the night where you are?

Kind regards

Tony


"Allen Browne" wrote:

> Tony, how about setting the form's Cycle property to:
> Current Record
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "NewKidontheBlock" <(E-Mail Removed)> wrote in
> message
> news:49C84820-E651-4976-A90B-(E-Mail Removed)...
> >I have a form which is intended to display one record according the
> > parameter set on entry. At the foot of the form I have a button which,
> > when
> > clicked, returns the user to the main menu. However, I have noticed that
> > if a
> > user presses the tab key when this button has the focus the program moves
> > into an add new record position which is exactly what I don't want to
> > happen.
> >
> > How do I disable the tab key when this button has the focus?
> >
> > Kind regards
> >
> > Tony

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
if I disable ssdp with this disable upnp for my router? jim Windows XP Help 2 31st Jan 2007 08:15 AM
Performing something Like Disable / changing the layout of Disable esakal Microsoft C# .NET 0 6th Sep 2006 05:01 PM
Performing something Like Disable / changing the layout of Disable esakal Microsoft Dot NET 0 6th Sep 2006 05:01 PM
Disable Password Prompt/Disable User Lock =?Utf-8?B?SnVsY28=?= Windows XP General 2 25th Aug 2006 02:05 AM
Skin pocket pc, disable hardware buttons, disable start button Tizio Incognito Microsoft Dot NET Compact Framework 1 3rd Feb 2005 09:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:13 PM.