EntryKeyNeeded Event
This event is fired to request an entry encryption/decryption key from the application.
Syntax
typedef struct { String EntryName; bool Cancel; } TsbxPasswordVaultEntryKeyNeededEventParams; typedef void __fastcall (__closure *TsbxPasswordVaultEntryKeyNeededEvent)(System::TObject* Sender, TsbxPasswordVaultEntryKeyNeededEventParams *e); __property TsbxPasswordVaultEntryKeyNeededEvent OnEntryKeyNeeded = { read=FOnEntryKeyNeeded, write=FOnEntryKeyNeeded };
Remarks
The component fires this event when a key is needed to encrypt or decrypt an entry. The EntryName parameter provides the name of the entry.
The handler of this event should assign the password or key to be used to EntryPassword or EntryKey property respectively. Set Cancel to true to abort the operation.