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: 
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.
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
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
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.
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
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.