This event is triggered each time the user connects or disconnects in the Newlook Control.
object.OnConnectStateChanged = [eventHandler]
Where object is either the Smartframe Newlook Control or Embedded Newlook Control, and eventHandler is the code to execute.
The OnConnectStateChanged event allows the user to execute some custom functionality each time a user connects or disconnects from the host in the Newlook Control.
The OnConnectStateChanged event can be triggered by the use of the connect or disconnect action in a macro or script, or by the user manually initiating a connection or disconnection (if toolbars are enabled). You can use GetValue method to query the value of the App.Status property to determine what the new state is.
JAVASCRIPTnewlook1.OnConnectStateChanged = MyConnectStateChanged; function MyConnectStateChanged () { //Do Something Here alert("Connection state has changed") } |
Customizing Smartframe templates | Smartframe Newlook Control API | Embedded Newlook Control API | OnFunctionKeyChanged event | OnOpened event | OnReceived event | OnRefreshed event | OnSent event | OnStatusChanged event | OnTitleChanged event
© 2004-2021 looksoftware. All rights reserved.