Skip to main content

TdxCloudStorage.OnConnectedChanged Event

Notifies that the cloud storage component has successfully connected/disconnected to/from an online account.

Declaration

property OnConnectedChanged: TNotifyEvent read; write;

Remarks

This event occurs every time the Connected property value changes. Handle the OnConnectedChanged event to perform additional actions in response to changes to the cloud storage’s connection status. Use the Sender parameter to access the cloud storage that raised the event. To access the storage’s all class-specific members within an OnConnectedChanged event handler, cast the parameter value to the TdxCloudStorage class.

Handle the associated authorization agent‘s OnError event to obtain information on any authorization and authentication errors that can occur on an attempt to connect the cloud storage to an online account.

See Also