PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → 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
Débuté par André Labuschagné, 21 juin 2017 23:39 - 3 réponses
Posté le 21 juin 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é
Posté le 22 juin 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
Posté le 22 juin 2017 - 00:25
Hi Piet

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

Cheers
André
Posté le 22 juin 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é