PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB17] Problem with clickable image ***SOLVED***
[WB17] Problem with clickable image ***SOLVED***
Iniciado por guest, 26,feb. 2015 13:30 - 1 respuesta
Publicado el 26,febrero 2015 - 13:30
Hello to All

I did a little modification on the PageLogin of my project, substituting the "OK" button,
with a clickable image, as you can see in the picture below.



When the "EditUtente" and "EditPassword" fields contain the required parameters to access to the system, i push the "Login" image that contains this code
The "EditUtente" and "EditPassword" pass their values to "gsUser" and "gsPass" used as a GLOBAL variable.




the "gsUser" and the "gsPass" fields are EMPTY (!??!!?), so i'm not able to pass the info to the database to verify that they are correct...

But if i press the "OK" button, the text controls have the right informations and the script (server side) is executed regularly..
(the OK button has the same code shown)

Why these different behaviours?? Any idea on how to solve the trouble??

Thanks in advance
Gianni
Publicado el 26,febrero 2015 - 13:41
Problem SOLVED!!!

I have used a normal image (not clickable) and associate an "ExecuteProcess" to the invisible "OK" button, then the process is executed correctly.

Thanks for your attetion..

Gianni