Connecting Tech Pros Worldwide Forums | Help | Site Map

Tab Sequence

trhq
Guest
 
Posts: n/a
#1: Nov 12 '05
am working on a form that has Header and Detail sections. I could not make
the cursor move to the Detail section after completing the Header section
(using TAB key). The cursor goes back at the first cell of the Header
section. I still have to use the mouse to click on the Detail section. How
do I automatically move using the Tab key to the Detail section after
completing the Header? Thanks.





Rick Brandt
Guest
 
Posts: n/a
#2: Nov 12 '05

re: Tab Sequence


"trhq" <trhq@sbcglobal.net> wrote in message
news:4mPrb.28068$hM7.14026@newssvr27.news.prodigy. com...[color=blue]
> am working on a form that has Header and Detail sections. I could not[/color]
make[color=blue]
> the cursor move to the Detail section after completing the Header section
> (using TAB key). The cursor goes back at the first cell of the Header
> section. I still have to use the mouse to click on the Detail section.[/color]
How[color=blue]
> do I automatically move using the Tab key to the Detail section after
> completing the Header? Thanks.[/color]

Add a very small TextBox with no label attached to the header section and
make it last in the Tab Order. In its GotFocus event add code to set the
focus to the desired control in the detail section.

The TextBox can be so small as to be effectively invisible, but it must
have its visible property and enabled property set to True.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


paii, Ron
Guest
 
Posts: n/a
#3: Nov 12 '05

re: Tab Sequence


Setting control color the same as your form background would make the
control invisible.

"Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
news:booi9o$1gp48q$1@ID-98015.news.uni-berlin.de...[color=blue]
> "trhq" <trhq@sbcglobal.net> wrote in message
> news:4mPrb.28068$hM7.14026@newssvr27.news.prodigy. com...[color=green]
> > am working on a form that has Header and Detail sections. I could not[/color]
> make[color=green]
> > the cursor move to the Detail section after completing the Header[/color][/color]
section[color=blue][color=green]
> > (using TAB key). The cursor goes back at the first cell of the Header
> > section. I still have to use the mouse to click on the Detail section.[/color]
> How[color=green]
> > do I automatically move using the Tab key to the Detail section after
> > completing the Header? Thanks.[/color]
>
> Add a very small TextBox with no label attached to the header section and
> make it last in the Tab Order. In its GotFocus event add code to set the
> focus to the desired control in the detail section.
>
> The TextBox can be so small as to be effectively invisible, but it must
> have its visible property and enabled property set to True.
>
>
> --
> I don't check the Email account attached
> to this message. Send instead to...
> RBrandt at Hunter dot com
>
>[/color]


Closed Thread