Richtextbox Question - InfoPath Dev
in

InfoPath Dev

Richtextbox Question

Last post 03-12-2007 07:08 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-12-2007 10:52 AM

    Richtextbox Question

    Hello,

    In my form I have a custom pane that uses web services to link to a document online without having to look it up. I want to take the link and place in a richtextbox. Is there a way to find the current location of the cursor in the richtextbox so when the user uses the custom pane to find the link that I can use jscript to insert the link at the location of the cursor? I do not know if this is even possible. I know I can add the link to the richtextbox using DOM.

    Thanks
  • 03-12-2007 07:08 PM In reply to

    Hi Dlamp24,
    I suppose you could write some code to get info from the operating system but this is going to be a lot of work and I'm not sure you can get what you need. You could use expression boxes to display the contents of the RTC and then add buttons to do the insertion. The buttons could automatically insert the link in a specified location (1 button per insert) and then change to a different state (and show the link). Not sure that is what you need though ...
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.