Heenan, Lambert
Lambert.Heenan at AIG.com
Tue Feb 18 09:22:00 CST 2003
You'd think you could just set the tab control's Tab Stop property to "No", but when you do so you also disable cyclic tabbing all together. The workaround... In the last control's LostFocus event... FirstControl.SetFocus No dummy control needed, not quite so kludgy. Lambert > -----Original Message----- > From: John W. Colby [SMTP:jcolby at colbyconsulting.com] > Sent: Tuesday, February 18, 2003 10:09 AM > To: AccessD > Subject: [AccessD] A2K - Preventing the tab getting the focus > > 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 > >