Skip to main content

setPanelFocus()

Moves Roku focus into the panel.

Syntax​

m.maestro.callFunc("setPanelFocus")

Parameters​

This function takes no parameters.

Returns​

This function does not return a value.

Example​

sub onMaestroShowPanel(event as object)
if event.getData() = true then m.maestro.callFunc("setPanelFocus")
end sub

Notes​

  • Focuses the visible overlay if there is one, else the tab bar (or the single panel when the tab bar is hidden).
  • During the drawer's slide, focus is held inside the panel and moves to the tab bar when the slide ends.
  • Call it from your showPanel observer when the panel opens.