PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WB - Javascript And Navigation
WB - Javascript And Navigation
Débuté par André Labuschagné, 21 juin 2017 19:19 - 2 réponses
Posté le 21 juin 2017 - 19:19
Hi All

I want to replace the default tab key with the enter key on some forms. How do I do that with JavaScript or is there another of achieving this with WB?

Cheers
André
Posté le 21 juin 2017 - 20:39
Ok - so I have worked out how to trap for the Enter Key but how do I select the next control programmatically? The keyup event is a JS one.
Posté le 21 juin 2017 - 23:08
Problem solved with JSEvent - WX never ceases to amaze me.

A Frenchman in another forum helped me out.

Incidentally - if any of you want to join our WX Open Skype Chat group just holler and can invite you on. We sometimes find it a lot better as we often get answers a bit quicker. But this forum has also been quite excellent for me.

Thanks for all the help.

Cheers
André