Results 1 to 2 of 2

Thread: Direct Textbox Copy With Disabled Textbox

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    198

    Direct Textbox Copy With Disabled Textbox

    Im trying to make it so when the user clicks it will copy its text to the user clipboard butttt the textbox is disabled. How would i make it so when the user clicks on it he/she can still copy it but not change the text inside?



    Thanks!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Direct Textbox Copy With Disabled Textbox

    Try setting ReadOnly to True instead of Enabled to False. The user can still copy as normal then.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width