PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → How to get the name of the previous control in tab order?
How to get the name of the previous control in tab order?
Iniciado por guest, 01,abr. 2015 18:52 - 1 respuesta
Publicado el 01,abril 2015 - 18:52
Hi all,

I would like to know how to get the name of the previous control in tab order, in WD19.

ControlNext gives the name of the next control in tab order, but I have not found the equivalent command to get the previous control in tab order.

ControlPrevious looks like an obvious candidate, but it does not do it. It gives the name of the field which was previously edited, which may or may not be the previous control in tab order.

Thanks in advance for any hints.

Best regards
Ola
Publicado el 01,abril 2015 - 19:05
Hi Ola,

You can always loop in the controls to get the ..TabOrder property <a class="ExternalLink" rel="nofollow" target="_blank" href="http://doc.windev.com/en-US/?2510098">http://doc.windev.com/en-US/&hellip;</a> to figure out who was the previous one.

You can make yourself a small function that does the job very easily.

Best regards,
Alexandre Leclerc