UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> tabstop in form header    
 
   
akeller
post Sep 30 2005, 10:34 AM
Post #1

UtterAccess Addict
Posts: 187
From: Texas



Any suggestions on how to allow objects in a Form Header to behave as a tab stop? The tab order goes immediately to objects in the Detail section of the form. I verfied that the Tab Stop property of the object in the Header is set to Yes. Also, the object displays on the Tab Order screen.

Thanks in advance!
-Alan
Go to the top of the page
 
+
malcolmd83
post Sep 30 2005, 10:35 AM
Post #2

UtterAccess Ruler
Posts: 1,208
From: Cochrane, Ontario, Canada



Behind the "On Load" event of the form, place the following code:

Me.txtFirstControl.SetFocus

hope this helps...
Go to the top of the page
 
+
schroep
post Sep 30 2005, 10:57 AM
Post #3

UtterAccess VIP
Posts: 5,200
From: Denver, Colorado [USA]



Tabstops in a form header or footer behave separately from the detail section.

In other words, once you are in a section, hitting tab will only cycle through the controls in that section.

If you want to make them behave all as one group of tabstops, you either need to:
1) Put them all in the detail section, and get rid of your headers/footers.
2) Specifically handle the pressing of TAB and CTRL-TAB in the first and last control of each section, to setfocus to the appropriate control in the next or previous section.
Go to the top of the page
 
+
akeller
post Sep 30 2005, 11:41 AM
Post #4

UtterAccess Addict
Posts: 187
From: Texas



Thank you both!!!! In this case, setting focus to a control in the Header did the trick as the form just provides a list and I don't need to jump from header to detail.

-Alan
Go to the top of the page
 
+
malcolmd83
post Sep 30 2005, 12:17 PM
Post #5

UtterAccess Ruler
Posts: 1,208
From: Cochrane, Ontario, Canada



Alan, glad to help. All the best with your project!

Peter, thanks for adding the other suggestions...I may use that at some point; I was actually dealing with the same thing as Alan just this morning :-)

Have a great weekend!
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 24th May 2013 - 01:30 PM

Tag cloud: