Results 1 to 3 of 3
  1. #1
    imran688 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    30

    Drag text from Forms

    Hi forum,


    Is there a way by which i can drag selected text in an access form textbox to a webpage. Or at least if there is a way to make the text "selected" when clicked on in the textbox so that i will simply have to press Ctrl + C.

    Regards,
    Imran

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,630
    In textbox GotFocus or Click event, try:

    Me.textboxname.SelStart = 0
    Me.textboxname.SelLength = Len(Nz(Me.textboxname, ""))
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    imran688 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    30
    It worked perfectly. Thank you very much

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-01-2012, 12:21 PM
  2. API: Drag and Drop from Explorer to a text box
    By ybg1 in forum Programming
    Replies: 1
    Last Post: 01-02-2012, 02:23 PM
  3. Drag and Drop into Textbox
    By jagvent in forum Forms
    Replies: 1
    Last Post: 12-20-2010, 09:31 AM
  4. Drag and Drop Between Textboxes. Please Help!
    By kcpope in forum Programming
    Replies: 2
    Last Post: 10-19-2010, 05:03 PM
  5. Drag N Drop example between 2 listboxes
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-30-2010, 10:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums