Back to product page

StateChange event


Fires when wodTelnetDLX changes its state.

Syntax

  • Basic
Private Sub object_StateChange (ByVal OldState)
The StateChange(OldState) syntax has these parts:
OldStateStatesEnum enumeration. Represents previous state.

Remarks

StateChange event is fired each time wodTelnetDLX internal state changes. Initially, it is set to Disconnected. Once you initiate new connection, it will change to Connecting, etc.. Using this event you can see if there is something happening with wodTelnetDLX, or it is idle and waiting for your commands. You can determine current state using State property.

Platforms

Windows