View Full Version : Can user highlight Paragraph object text?
ashoka1
04-13-2006, 04:29 PM
PROBLEM:
I can't highlight text in the paragraph box.
It's like an image. Nothing happens when you try to higlight text.
I want to make it so that the user can higlight/copy text...
So they can paste it in a browser, or notepad.
NOTES:
- I have a really long paragraph. So scrollers are involved.
ashoka1
04-13-2006, 04:34 PM
Okay, the reason I posted this was because my search term: "Highlight Paragraph" came up with no good results.
I've changed the search term to "Copy Paragraph", and I got some results.
But they're not very clear.
One suggestion says that an input box should be used. But I don't want to do that since there is no transparent background for input boxes.
Another suggestion was to use the clipboard plugin. I clicked on it, then previewed my project, and nothing happened.
If someone has an idea, please do post.
yosik
04-13-2006, 11:39 PM
AFAIK, there is no highlight on Paragraph text. And the input object does not allow transparency... That's how it stands at the moment.
You could visually design the background to simulate a transparent input object or copy content (the WHOLE content) of your paragraph object into your clipboard (don't forget to enable the clipboard plugin in your Project<Plugins menu) and paste it wherever you want.
Nudge to IR Dev Team: Allow transparency for Input Objects...
Yossi
stickck
04-14-2006, 12:58 AM
where is the user going to paste it? you could just have it save the contents of a paragraph object to a string and then save that string to a text file TextFile.WriteFromString sorry if my code is off. i dont have AMS on this machine. if you would rather use a Word Document, you could use the LuaCom plugin and have it write the string to a Word Doc. automating Office isnt always guarenteed to work. Different versions on different machines will give you mixed results. i went through this big headache with Excel.
Hope that helps
Chris
ashoka1
04-14-2006, 09:26 AM
EDIT: POST DELETED BY MYSELF.
Misunderstadning.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.