Dear all,
code:
dim b1, b2 as boolean
b1 = Keyboard.ShiftKey
b2 = Keyboard.AltKey
If b1 and b2 Then
…
Aim:
On Startup, if shift or alt is pressed, the login-window should appear.
if not, it should login with saved password
Problem:
the code above works if the method is called on a open window, by klick on button or so.
But, if the same method is called on startup-event (Constructor), b1 and b2 are always true and it doesnt matter if the keys are pressed.
any ideas?
many thanks,
Christian