PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WEBDEV entry focus
WEBDEV entry focus
Iniciado por guest, 30,sep. 2017 14:00 - 2 respuestas
Publicado el 30,septiembre 2017 - 14:00
Hi,

Under WEBDEV, I have an ENTRY field and a BUTTON ( Server side to check and update database ).
User will enter some information and hit ENTER key ( which will triggered the code in the BUTTON).

How to have the focus goes back to the ENTRY field after the logic checks in the BUTTON ? as the RETURNTOCAPTURE function only work in BUTTON's Browser side.

Regards,

PETER ZHOU
Publicado el 02,octubre 2017 - 11:59
If your button is an Ajax process then in the Return from Ajax Process after clicking Button code put ReturntoCapture(edt control name)

Regards


Ericus Steyn
Publicado el 02,octubre 2017 - 12:57
and if it's not in ajax, just put your returntocapture in the onload (browser) section... If necessary with a flag, if you don't want it all the time

Best regards