Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
KishoreTalloju
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC
Accepted Solution

How to scroll text in Label programmatically which is multiLine enbled

I am able to display text in Label with scroll. But i need to scroll the text programmatically. I mean i want to scroll the text to top/bottom programmatically.

 

Please help me. Thanks in advance.

 

.

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: How to scroll text in Label programmatically which is multiLine enbled

Show the code you are using to display label with scroll.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Contributor
KishoreTalloju
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC

Re: How to scroll text in Label programmatically which is multiLine enbled

Sorry its not Label. Its TextArea.

 

TextArea {
                            objectName: "quotedetailLabel"
                            id: quotedetailLabel
                            editable: false
                            textStyle.color: Color.White
                            textStyle.fontSize: FontSize.PercentageValue
                            textStyle.fontSizeValue: FontSize.Medium
                        }

 

 

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: How to scroll text in Label programmatically which is multiLine enbled

You can't scroll it programmatically. But you can put TextArea inside ScrollArea and scroll it.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Contributor
KishoreTalloju
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC

Re: How to scroll text in Label programmatically which is multiLine enbled

thanq sap. Its working.