473,700 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Tab to controls on the form footer?

Hi,
I have a form with buttons (Ok, Close etc) on the form footer.
As the user tabs through the form controls focus will not move to the footer
controls.
Am I missing something here?
Do I have to trap the Tab key on the last control (keydown, keypress) in the
tab order and move focus to the first control in the footer.
Paul Copeland

--

Paul Copeland
NG Brown & Associates P/L
31 Jellico Dr Scoresby AUSTRALIA 3179
Ph 03 9753 4499
Fax 03 9753 4299
pa***@ngbrown.c om.au

Nov 12 '05 #1
2 6312
On Wed, 17 Sep 2003 02:56:13 GMT in comp.databases. ms-access, "Paul
Copeland" <pa***@ngbrown. com.au> wrote:
Hi,
I have a form with buttons (Ok, Close etc) on the form footer.
As the user tabs through the form controls focus will not move to the footer
controls.
Am I missing something here?
Do I have to trap the Tab key on the last control (keydown, keypress) in the
tab order and move focus to the first control in the footer.
Paul Copeland


Before the form's "Cycle" property, what we used to do to avoid
tabbing to the next record was have a transparent button on the end
that would set focus to the previous control in it's OnEnter event,
you could use the same trick to set focus to one of the footer
buttons.

--
A)bort, R)etry, I)nfluence with large hammer.

(replace sithlord with trevor for email)
Nov 12 '05 #2
That seems to work.
Thanks for the help.
Paul

"Trevor Best" <bouncer@localh ost> wrote in message
news:i0******** *************** *********@4ax.c om...
On Wed, 17 Sep 2003 02:56:13 GMT in comp.databases. ms-access, "Paul
Copeland" <pa***@ngbrown. com.au> wrote:
Hi,
I have a form with buttons (Ok, Close etc) on the form footer.
As the user tabs through the form controls focus will not move to the footercontrols.
Am I missing something here?
Do I have to trap the Tab key on the last control (keydown, keypress) in thetab order and move focus to the first control in the footer.
Paul Copeland


Before the form's "Cycle" property, what we used to do to avoid
tabbing to the next record was have a transparent button on the end
that would set focus to the previous control in it's OnEnter event,
you could use the same trick to set focus to one of the footer
buttons.

--
A)bort, R)etry, I)nfluence with large hammer.

(replace sithlord with trevor for email)

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5548
by: Lyn | last post by:
Hi, I have a form which contains a number of subforms in different pages of a tab control. In the detail section of each subform, I list records related to the main form record, but from different tables. In the footer section of the subform I have a Notes text box and three buttons (Add, Update, Delete). The latter each open a separate form for updating or deleting the subform data (the records cannot be updated or deleted directly...
7
2428
by: Grant | last post by:
I have this table on my form which gets populated with data from my database at runtime. I would like to place some controls (linkbutton, textbox etc.) beneath the table when it is complete - at the moment the controls just stay where I place them and the table gets built on top of them. I have tried searching the net for a solution but being on dial up its excruciatingly slow and I havent yet found the answer. Please could someone point me...
1
1121
by: Marcus Robinson | last post by:
Hi, I have files called header.ascx and footer.ascx which are included in pages by a class that inherits System.Web.UI.Page and overides OnInit. See: ------------------------- Protected Overrides Sub OnInit(ByVal e As System.EventArgs) Me.Controls.AddAt(0, LoadControl("../header.ascx")) MyBase.OnInit(e) Me.Controls.Add(LoadControl("../footer.ascx"))
0
1929
by: Zi | last post by:
I have a user control within a data grid. I am binding the user control to one of the values from the data grid. The data grid implements paging. It is all working ok for the first page but once i page to the second page of the datagrid, the user contorl stops working correctly (displaying the correct data). I have attached the code that is envolved. Thanks a lot
4
3311
by: Michael | last post by:
Thank you for any help you can provide. This is what I have: index.aspx - contains nothing but a form with runat = server header.ascx - contains asp image box welcome.ascx - contains text footer.ascx - contains text login.ascx - contains asp/web labels and text boxes. The index page is simply a container for all the user controls. The
4
2091
by: Bass Pro | last post by:
Hi, I am creating textbox, radiobuttonlist and checkboxlist dynamically depending on data from a table. It is a questionnaire. I add the control on a Panel control during the 1st load_page event. Each question is displayed and answered, then result written to a SQL table. Then the next question is read from a table and displayed using the load_page event again. The questions display and function perfectly. The user anwers the question...
0
1043
by: Lewis Harvey | last post by:
This may be one of those simple questions, but I can't seem to find the answer. I want to create a control, called AdminForm, for example, then this will render a table header and footer. Then I was the developer to be able to drop other controls into this. But so they render between the header and footer of the table. Then the controls have <tr> in them and everything will be lined up correctly. My code is a follows, can someone point...
3
2752
by: google | last post by:
I'm developing an application for use within my company in Access 2003. I'm new to '03, the application I did for my former employer was in '97. The two applications have similar functionality (we're sales offices, and I'm doing things such as associate directories, commission calculations, order tracking, etc.). 2003 seems to have a few extra features, but I seem to continually run in to oddities that seem like they SHOULD work, but...
1
1402
by: Phil Reynolds | last post by:
When looping through all controls on a form in code, is it possible to determine what section a control belongs to? I want to skip controls in the footer for some code I'm doing.
0
8709
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9058
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6555
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5894
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4649
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3081
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2371
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.