Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
goya
Visitor

is there anyway to reuse a roParagraphScreen (clear)

ok i'm working on benchmark suite and i want to display results in roParagraphScreen that i have and i have a number of paragraphs for each of the test results

i want to be able to allow the users to rerun the benchmark suite and for that i would like to reuse the roParagraphScreen that i previously created and used,

what i would like to do is remove old test results and then add some new ones when when the next run completes,

so i want to remove / clear the paragraphs in the roParagraphScreen im using and then when the next run of the benchmark suite completes i would like to add the new results as new paragraphs

sort of

screen = CreateObject("roParagraphScreen")
...
screen.RemoveAllParagraphs() ' this is the sort of method im looking for
screen.AddParagraph("new results....")

thanks in advance
0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: is there anyway to reuse a roParagraphScreen (clear)

There is no way to clear a paragraph screen, but I agree it would be nice to have.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos