PDA

View Full Version : Making a paragraph selectable.


Codyclark
02-15-2007, 04:12 PM
Was wondering if there was a code to make it possible to select text in a paragraph box
so you can copy whats in it.. Or something like that.

TJ_Tigger
02-15-2007, 04:32 PM
You cannot select the text in a paragraph object. You can with a multiline Input Object however.

Buffman
02-15-2007, 04:48 PM
One thing you can do is create a "copy to clipboard" button that takes the paragraph text and copies it to the windows clipboard. Or you can do what Tigg said and make a multiline input object, and style it to look like a paragraph object.

Both ways have some pros & cons depending on what you need.

just4fun2k7
10-19-2007, 12:57 AM
One thing you can do is create a "copy to clipboard" button that takes the paragraph text and copies it to the windows clipboard.

thats exactly, what i want to do

but how the code have to look, if my objects are names following ?? :
(i know, how to get the text from paragraph...but dont know a lot about results an their usage..:rolleyes )

the paragraph: Paragraph2
the copy-button: Button4

my especial problem is, that i need to copy 8 lines of text
(cause this, i cant use the regular copy-text-to-clipboard-function -> it makes it as one line to clipboard...)

thx for help in advance :yes
just4fun2k7