OnTitleChanged Event

This event is triggered when the screen title changes in the Newlook Control.

object.OnTitleChanged = [eventHandler]

Where object is the Smartframe Newlook Control or Embedded Newlook Control, and eventHandler is the code to execute.

Applies To

Smartframe Newlook Control

Embedded Newlook Control

Use

The OnTitleChanged event is triggered every time the screen title changes. This can be due to a new screen being loaded or a result of a macro or script run on the screen.

This event is useful to hook onto when you want to execute some functionality each time a screen with a specific screen title is loaded.

JAVASCRIPT

newlook1.OnTitleChanged = MyTitleChanged;

function MyTitleChanged ()

{

     //Do Something Here

     alert("OnTitleChanged event has run")

}

See Also

Customizing Smartframe templates | Smartframe Newlook Control API | Embedded Newlook Control API | OnConnectStateChanged event | OnFunctionKeyChanged event | OnOpened event | OnReceived event | OnRefreshed event | OnSent event | OnStatusChanged event


© 2004-2021 looksoftware. All rights reserved.