Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Photovor
Visitor

Refresh screen after dialog close-out?

Is there a way to refresh the previous screen after a user closes out a roMessageDialog screen? From my dialog, I'm changing some registry values, and I'd like my previous screen to reflect those changes after the dialog is closed.
Tags (1)
0 Kudos
4 REPLIES 4
RokuJoel
Binge Watcher

Re: Refresh screen after dialog close-out?

What type of screen component do you want to refresh?

Joel
Tags (1)
0 Kudos
Photovor
Visitor

Re: Refresh screen after dialog close-out?

"RokuJoel" wrote:
What type of screen component do you want to refresh?

Joel


I'm calling the dialog from a roParagraphScreen
Tags (1)
0 Kudos
renojim
Community Streaming Expert

Re: Refresh screen after dialog close-out?

You have to recreate the screen if you want to change anything.

-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.
Tags (1)
0 Kudos
RokuJoel
Binge Watcher

Re: Refresh screen after dialog close-out?

For screens that you need to recreate after they are updated, you generally need to put them inside a conditional loop so that they reload:

while not userExited
userExited=showMyParagraphScreen(content)

end while
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!