<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Tabbing Order Problem with dropdown list</title><link>https://www.infopathdev.com:443/forums/thread/37972.aspx</link><pubDate>Mon, 02 Feb 2009 15:39:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37972</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37972.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37972</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you adding the optional section then you no need to specify the tab orders on your form. Just add the tab order is ‘0&amp;#39; then it will work as by default order of adding the elements in the form. &lt;/p&gt;</description></item><item><title>Re: Tabbing Order Problem with dropdown list</title><link>https://www.infopathdev.com:443/forums/thread/37960.aspx</link><pubDate>Mon, 02 Feb 2009 11:10:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37960</guid><dc:creator>saikrishna171</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37960.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37960</wfw:commentRss><description>Thanks for the reply.
my question is this.
I have set tab index to all the controls (just the way you described)
I need to move focus to a dropdown list programmatically, but this code does not work.
IXMLDOMNode field;
field = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:field3&amp;quot;);
thisXDocument.View.SelectText(field, Type.Missing);

to move focus programmatically, you need to host the dropdown list in an optional section as explained here at
http://www.infopathdev.com/blogs/matt/archive/2006/01/11/Programmatically-Move-Focus-to-Lists_2C00_-Check-Boxes_2C00_-and-Radio-Buttons-without-Allowing-Deletion.aspx 

when i host my dropdown list in the optional section, the tab order gets disturbed in that,if the tab order is as specified below and you press tab key at dropdownlist, the focus doesnot move to field 4 but moves to field1.

field1 : tabindex = 1
field2 : tabindex = 2
dropdownlist tabindex = 3
field4 : tabindex = 4

Please let me know, if there is a workaround.

Thanks,
SaiKrishna</description></item><item><title>Re: Tabbing Order Problem with dropdown list</title><link>https://www.infopathdev.com:443/forums/thread/37926.aspx</link><pubDate>Sat, 31 Jan 2009 05:38:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37926</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37926.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37926</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can force the focus to enter in to any field by setting the order number in the tab index (Field properties -&amp;gt; advanced tab -&amp;gt; Tab index). &lt;/p&gt;</description></item><item><title>Tabbing Order Problem with dropdown list</title><link>https://www.infopathdev.com:443/forums/thread/37891.aspx</link><pubDate>Fri, 30 Jan 2009 10:59:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37891</guid><dc:creator>saikrishna171</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37891</wfw:commentRss><description>Hi,

I placed my dropdownlist in an optional section to enable me to move focus to the dropdownlist programmatically.
ref : http://www.infopathdev.com/blogs/matt/archive/2006/01/11/Programmatically-Move-Focus-to-Lists_2C00_-Check-Boxes_2C00_-and-Radio-Buttons-without-Allowing-Deletion.aspx

but, after doing this, whenever i press &amp;#39;TAB&amp;#39; key at dropdownlist it moves the focus to the first field.

How do i correct this tabbing order?
Your help will be most valuable.

Regards,
SaiKrishna</description></item></channel></rss>