The event for requesting a user name and a password from the user.
// Defined in MRVType/fmxMRVType unit
TRVOnLoginEvent = procedure(Sender: TObject; const ARealm : string;
var AUserName, APassword : String; var Proceed: Boolean) of object;
property OnLogin: TRVOnLoginEvent;
This event occurs if authentication fails and LoginPromt = True.
If this event is not assigned, the component displays its own login prompt dialog. The event allows to implement your own user interface for requesting a user name and a password.
ARealm describes the resource that needs authentication.
AUserName, APassword – user name and password from the previous (failed) login attempt.
Proceed = True.
AUserName, APassword – new user name and password.
Assign Proceed = True to proceed with the new user name and password. Assign Proceed = False to stop login attempts.