Task Pane Custom Help Copy/Paste - InfoPath Dev
in

InfoPath Dev

Task Pane Custom Help Copy/Paste

Last post 08-31-2006 01:08 PM by Matt Faus. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-28-2006 11:38 AM

    Task Pane Custom Help Copy/Paste

    I'm using the Task Pane Custom help code found in the tutorials section. I am wondering if it is possible to make it so the user can copy information from the menu and paste it in their form?
  • 08-29-2006 06:08 PM In reply to

    Re: Task Pane Custom Help Copy/Paste

    I don't see why this wouldn't be available via the usual means (ctrl+c, ctrl+v). Are you trying to add a "Copy to Clipboard" button? I'm not sure how to do this but I'm sure there is a JavaScript example out there that shows how this can be done.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 08-31-2006 05:07 AM In reply to

    Re: Task Pane Custom Help Copy/Paste

    Yep that's what I'm trying to do. I am unable to select the text from my custom task bar. I'm sure I could write code to create a button to "Copy to Clipboard" but would be more work for our users to delete the parts they don't want.
  • 08-31-2006 10:04 AM In reply to

    Re: Task Pane Custom Help Copy/Paste

    You can allow users to copy text in the task pane when you place your text into read-only input elements. Remove the borders to make it look like plain text. Example:

    <input type="text" readonly="true" value="This is a test" style="border:none"/>
  • 08-31-2006 12:35 PM In reply to

    Re: Task Pane Custom Help Copy/Paste

    Thanks it works but seems a little sloppy for the amount of text I have. Are there any other methods? I looked into <textarea> but the scroll bars are ugly.
  • 08-31-2006 01:08 PM In reply to

    Re: Task Pane Custom Help Copy/Paste

    You should be able to set the width and height parameters of a textarea element so that no scrollbars are displayed. Hope this helps.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.