[AccessD] A2K - Preventing the tab getting the focus

Seth Galitzer sgsax at ksu.edu
Tue Feb 18 09:24:00 CST 2003


John,

Can you not simply take the tab control out of the tab order?  Or do you
still want users to be able to tab between tabs?

If that doesn't work, add some code to the OnExit or OnLostFocus event
of the last control to set focus to the first control.  That should
still be doable even with your DEEP objects, shouldn't it?

Seth

On Tue, 2003-02-18 at 09:08, John W. Colby wrote:
> Is there any way to prevent the tab from getting the focus.  When the user
> tabs out of the last control in the tab order, the focus goes to the tab
> page itself (up in the tab doodad at the top) then the next tab puts it back
> down into the page, first tab control.  In the olden days we would put a
> dummy control behind the last control in the tab order and when that got the
> focus, it would place the focus on the first object in the tab order.  So
> kludgy.  Is there any built in method now?
> 
> John W. Colby
> Colby Consulting
> www.ColbyConsulting.com
> 

-- 
Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University




More information about the AccessD mailing list