Your Digital Media Has Never Looked So Good

Topic Author
Posts: 26
Joined: Thu Feb 02, 2017 8:11 am

Way to observe focus change?

Fri May 19, 2017 12:52 pm

Hi all

I have two components in SG. Component A calls an async service and if that returns an error Component B displays that error.

Component B handles the focusing between the two components by storing the previous Component that had focus and returning focus to that Component when a button is selected.

The issue I'm trying to solve is is there a way for Component A to know when it loses focus and when focus is returned? - So it can change the appearance of an element within Component A.


Roku BrightScript Developer -
Posts: 1
Joined: Sat Feb 17, 2018 7:39 am

Re: Way to observe focus change?

Sat Feb 17, 2018 7:41 am

observe focusedChild"focusedChild", "onFoucsChange")

Who is online

Users browsing this forum: Blackhawk, stuincalif and 3 guests