Anchors - 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 » Anchors Anchors Last post 01-05-2007 10:32 AM by Patrick Halstead. 6 replies. Page 1 of 1 (7 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-01-2006 08:03 AM Ali Joined on 11-06-2006 United Kingdom Posts 22 Anchors Reply Contact Is it possible to insert anchor hyperlinks for 'top of page' for long forms in infopath?Thanks! 12-01-2006 05:41 PM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Anchors Mark as Not AnswerMark as Answer... Reply Contact You can insert buttons that call code to set the context to a control on the top of the page. Patrick HalsteadProject Manager at Qdabra 01-04-2007 06:14 AM In reply to diaboloche Joined on 10-03-2006 Posts 116 Re: Anchors Mark as Not AnswerMark as Answer... Reply Contact Hello! Would you have an extract of code to do that? Happy new year! 01-04-2007 09:44 PM In reply to shekar Joined on 07-26-2006 India Posts 22 Re: Anchors Mark as Not AnswerMark as Answer... Reply Contact HiFrom the following link you can find the solution.http://www.infopathdev.com/howto/tutorials/default.aspx?i=c215002670ef41089840768073d7147f Shekarhttp://www.ggktech.com 01-04-2007 10:18 PM In reply to Shiva Joined on 04-15-2005 India Posts 694 Re: Anchors Mark as Not AnswerMark as Answer... Reply Contact Hi Ali,By clicking on this control your context is move to top of your pageHere is the code (C#.net):public void CTRL81_5_OnClick(DocActionEvent e){// Write your code here.IXMLDOMNode topNode = thisXDocument.DOM.selectSingleNode ("XPath of your field");thisXDocument.View.SelectText(topNode, Type.Missing);} Shiva / http://www.ggktech.com 01-05-2007 01:15 AM In reply to diaboloche Joined on 10-03-2006 Posts 116 Re: Anchors Mark as Not AnswerMark as Answer... Reply Contact And if it is wished that the textbox be masked? 01-05-2007 10:32 AM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Anchors Mark as Not AnswerMark as Answer... Reply Contact What do you mean by "masked"? Did ytou look at Shekar's link? I think this is a very good HowTo to reference. Thanks Shekar! Patrick HalsteadProject Manager at Qdabra Page 1 of 1 (7 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.