# Copying text of label

**URL:** <https://forum.juce.com/t/copying-text-of-label/2100>\
**Category:** General JUCE discussion\
**Created:** [September 17, 2007, 1:16pm UTC](https://forum.juce.com/t/copying-text-of-label/2100 "2007-09-17T13:16:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tinker](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@tinker](https://forum.juce.com/u/tinker)\
**Post date:** [September 17, 2007, 1:16pm UTC](https://forum.juce.com/t/copying-text-of-label/2100/1 "2007-09-17T13:16:51Z")

</div>

How can I copy some part of a label displayed on screen (created using juce) and paste it on say a notepad ? I can not right-click or select any text on the screen.  
Do i need to add mousedown event to give the option of copying ? But can i keep the copied text on clipboard so that user can paste it wherever he wants ? Or is there a simpler way ?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [September 17, 2007, 3:01pm UTC](https://forum.juce.com/t/copying-text-of-label/2100/2 "2007-09-17T15:01:43Z")

</div>

You could use a TextEditor. No other components are designed to do this kind of thing automatically, but you could obviously write or modify one yourself and use the SystemClipboard class to copy it.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 10:07am UTC](https://forum.juce.com/t/copying-text-of-label/2100/3 "2017-05-12T10:07:21Z")

</div>


