StringGadget and #PB_String_Password flag

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
spidernet
Posts: 72
Joined: Tue Feb 02, 2016 3:50 pm

StringGadget and #PB_String_Password flag

Post by spidernet »

Hello,

It would be good if there is special "Enter key pressed" event in the StringGadget when using #PB_String_Password flag.
I have a login window in my app and most users press the Enter key by instinct after typing their password, but that doesn't generate
any event and can't detect to it to log in that way. So they wait second or two and when nothing happen they finally put
hand on the mouse and press the login button to log in to the app. With this improvement can achieve better user experience.
Fred
Site Admin
Posts: 1510
Joined: Mon Feb 24, 2014 10:51 am

Re: StringGadget and #PB_String_Password flag

Post by Fred »

Did you try to add a keyboard shortcut ?
spidernet
Posts: 72
Joined: Tue Feb 02, 2016 3:50 pm

Re: StringGadget and #PB_String_Password flag

Post by spidernet »

Fred wrote:Did you try to add a keyboard shortcut ?
I tried it now and the result is that the AddKeyboardShortcut() is perfect solution for this.
In my case I used it with GetActiveGadget() and PostEvent() to "push the Login button".

Thanks Fred! :)
Post Reply