scroll is comming when printing text of textArea

37 views
Skip to first unread message

Kundan Singh

unread,
Jul 23, 2008, 3:20:42 AM7/23/08
to flex_...@googlegroups.com
Hi
 
I am trying to print the contents of a text area component. If I just
do addPage(Component Name) it works but it prints the whole conponent
including the scrollbars.
 
can any body help me to remove scroll bar and printing the whole text of textArea.
 
 
Regards
Kundan

Kuldeep Atil

unread,
Jul 23, 2008, 7:40:34 AM7/23/08
to Flex India Community
Check out the link below... this may help you

http://livedocs.adobe.com/flex/3/html/help.html?content=printing_4.html

in the given example there is datagrid, so u wont need that... make
necessary changes...

p.s. use Text control rather than TextArea...

sasi

unread,
Jul 23, 2008, 7:51:06 AM7/23/08
to Flex India Community
hi kundan
take component width and height as 100%
try it u will get output without scrollbars

On Jul 23, 12:20 pm, "Kundan Singh" <kundan.davi...@gmail.com> wrote:

Kundan Singh

unread,
Jul 23, 2008, 11:06:01 PM7/23/08
to flex_...@googlegroups.com
Thnx  sasi and Kuldeep
 
I have checked the link http://livedocs.adobe.com/flex/3/html/help.html?content=printing_4.html  , by using this link we can show the text of textArea as a label.
 
but after showing the text in the form of label , the formatting is changed,
 
1)   can i show the text in the textArea without the scroll bar.
 
2) I have also tried for 100% width and 100% height, but problem is still there.
 
Thnx and Regards
Kundan

Jasmeet Sehgal

unread,
Jul 24, 2008, 6:20:28 AM7/24/08
to flex_...@googlegroups.com
hi

try to set the "clipcontent" property that will help you out.

jassy
Reply all
Reply to author
Forward
0 new messages