PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WB - How To Establish Which Control Has Been Selected On A Page
WB - How To Establish Which Control Has Been Selected On A Page
Iniciado por André Labuschagné, 21,jun. 2017 23:39 - 3 respuestas
Publicado el 21,junio 2017 - 23:39
Hi All

The subject says it all. I need a way to establish which control on a page has focus. Is there any function for this?

Cheers

André
Publicado el 22,junio 2017 - 00:05
Hi André,

If there's no more elegant solution you could use the code in the OnFocus event in each control.
(... more processes in the in the status bar of the code window)

Kind regards,
Piet
Publicado el 22,junio 2017 - 00:25
Hi Piet

I was headed that way - may need to keep my own tracking system.

Cheers
André
Publicado el 22,junio 2017 - 00:44
Sorted - wrote my own tracking system that I combined with the JavaScript solution and I can now track keystrokes and setfocus as and when required.

Cheers
André