Back

ToFront

JS Py
Hello World

Brings the app back to the foreground.

app.ToFront()

See Also: ToBack.

Example - Hide and Peek

function OnStart()
{
    app.ToBack();
    setTimeout("app.ToFront()", 5000);
}

function OnPause()
{
    app.ShowPopup( "OnPause" );
}

function OnResume()
{
    app.ShowPopup( "OnResume" );
}
from native import app

def OnStart():
    app.ToBack()
    app.SetTimeout("app.ToFront()", 5000)

def OnPause():
    app.ShowPopup( "OnPause" )

def OnResume():
    app.ShowPopup( "OnResume" )
Copy All       Run