KeyNeeded Event
This event is fired to request a vault encryption/decryption key from the application.
Syntax
typedef struct { bool Cancel; } TsbxPasswordVaultKeyNeededEventParams; typedef void __fastcall (__closure *TsbxPasswordVaultKeyNeededEvent)(System::TObject* Sender, TsbxPasswordVaultKeyNeededEventParams *e); __property TsbxPasswordVaultKeyNeededEvent OnKeyNeeded = { read=FOnKeyNeeded, write=FOnKeyNeeded };
Remarks
Component fires this event to request a vault encryption key from the application. Note that this is not the same as entry encryption key, which is requested by EntryKeyNeeded. The key requested by this event is used to encrypt or decrypt the whole vault.
The handler of this event should assign the password or key to be used to Password or Key property respectively. Set Cancel to true to abort the operation.