Author Topic: Label for printing and copying.  (Read 2363 times)

JonnyDoeInWisco

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Label for printing and copying.
« on: February 15, 2015, 04:20:42 PM »
I have a program that I made with NGUI that prints a result string to a text area. By default when you click on that text area it removes the result text. I want to make the text stay in the text area so it can be copied, I haven't been seeing any way to do this so I was hoping you could help me.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Label for printing and copying.
« Reply #1 on: February 17, 2015, 09:19:38 PM »
NGUI doesn't remove the text by default, so it must be you doing it. UIInput.value, once set, remains set.