StateChange Event
    
 

Description

Fires when component changes its state.


Syntax

Private Sub object_StateChange(OldState)



The StateChange Event syntax has these parts:

Part Description
object A wodAppUpdate object.
OldState An UpdateStates enumeration, as described in settings. Holds previous state.

Settings

The settings for OldState are:

Constant Value Description
 StateNotConnected 0 Not connected.
 StateCheckingUpdates 1 Checking for new updates.
 StateDownloadingFile 2 Downloading new updates.
 StateUpdating 3 Replacing updates.

Remarks

This event is fired every time the wodAppUpdate control changes the current operation that it is performing. Even though most of these operations also result in firing other events, the user can monitor this event to see the reason for an operation's completing unsuccessfully, or can ignore other events and take appropriate action depending on the wodAppUpdate's State property value.

Refer also to the here for a list of possible states.