How to do focus on field? - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » How to do focus on field? Use our Google Custom Search for best site search results. How to do focus on field? Last post 09-23-2005 03:46 AM by mcjack. 6 replies. Page 1 of 1 (7 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 03-03-2005 05:02 AM liorlankri Joined on 02-28-2005 Posts 205 How to do focus on field? Reply Contact What is the code for doing focus on text field that in my InfoPath form? 03-09-2005 12:26 AM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,110 Re: How to do focus on field? Mark as Not AnswerMark as Answer... Reply Contact Hmmm... I'd try SelectText. Check out the example in the SDK for doing this. Patrick HalsteadProject Manager at Qdabra 03-15-2005 09:37 PM In reply to Sudheer Joined on 03-01-2005 India Posts 7 Re: How to do focus on field? Mark as Not AnswerMark as Answer... Reply Contact try thisvar ObjDomNode = XDocument.DOM.selectSingleNode("//my:txtActionText");XDocument.View.SelectText(ObjDomNode); 03-15-2005 10:26 PM In reply to liorlankri Joined on 02-28-2005 Posts 205 Re: How to do focus on field? Mark as Not AnswerMark as Answer... Reply Contact My code is in C#I get an error that SelectText dont get 1 parameter.What's wrong? 03-29-2005 04:11 PM In reply to Greg Collins Joined on 08-08-2006 Posts 2,126 Re: How to do focus on field? Mark as Not AnswerMark as Answer... Reply Contact Try using Type.Missing for the other paramter(s)Greg Collins [InfoPath MVP]InfoPathDev Please Visit:BraintroveGreg's Paintings 09-21-2005 04:07 AM In reply to mcjack Joined on 09-21-2005 Posts 6 Re: How to do focus on field? Mark as Not AnswerMark as Answer... Reply Contact I've used Type.Missing, but I get an error.Can you help me?Thanks and regards 09-23-2005 03:46 AM In reply to mcjack Joined on 09-21-2005 Posts 6 Re: How to do focus on field? Mark as Not AnswerMark as Answer... Reply Contact Hi,problem solved.My text box was read only, and so the function didn't work properly.Thanks Page 1 of 1 (7 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.