Difference between revisions of "RPC HELP TVistaLogin OnFailedLogin"
From VistApedia
(Created page with "<h2>OnFailedLogin Property</h2> Example <h3>Applies to</h3> TVistaLogin class <h3>Declaration</h3> ...") |
|||
Line 1: | Line 1: | ||
<h2>OnFailedLogin Property</h2> | <h2>OnFailedLogin Property</h2> | ||
− | [[ | + | [[RPC_Broker_Silent_Login_Example|Example]] |
<h3>Applies to</h3> | <h3>Applies to</h3> |
Latest revision as of 02:54, 4 July 2015
OnFailedLogin Property
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;