I am trying to use a custom unlock dialog with the TAdvLockApp component. I am using the OnQueryUnlock event to handle showing the dialog.
Everything goes well if my dialog gets the correct unlock password. The problem I have is when the user enters the wrong password. When the password is incorrect and my app sets the AllowUnlock param to false, the default unlock dialog is shown.
This behaviour does not make sense to me. If I am handling the OnQueryUnlock event myself then the component (in my opinion) should not show any dialog.
Is there any way that this could be fixed? Perhaps a property that can be set to never show the default dialog?