RPC HELP TVistaLogin OnFailedLogin

OnFailedLogin Property Example

Applies to TVistaLogin class

Declaration property OnFailedLogin: TOnLoginFailure;

Description The OnFailedLogin property is available at run-time only. It holds a procedure to be invoked on a failed Silent Login that permits an application to handle errors as desired, where TOnLoginFailure is defined as: TOnLoginFailure = procedure (VistaLogin: TVistaLogin) of object;

For example, an application could define:

Procedure HandleLoginError(Sender: TObject); and then set:

OnFailedLogin := HandleLoginError;