Window.onShow

An event being sent when the window is shown or hidden. Notice that the event is not triggered when the application is iconized (minimized) or restored under Windows.


Prototype

function onShowHandler ( object_ event, bool IsShown )

Example

This example prints the name of the Window when it’s shown.

1
2
3
4
5
 local function onShowHandler ( this )
    print ( 'the Window is "'.. this:getSender():getName() ..'"' )
 end

 myWindow.onEnter : setHandler(onEnterHandler)