Forum Discussion

goya's avatar
goya
Visitor
14 years ago

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

1 Reply

  • renojim's avatar
    renojim
    Community Streaming Expert
    There is no way to clear a paragraph screen, but I agree it would be nice to have.

    -JT