How to get the name of the previous control in tab order?

Startbeitrag von Ola am 01.04.2015 16: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

Antworten:

Hi Ola,

You can always loop in the controls to get the ..TabOrder property http://doc.windev.com/en-US/?2510098 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

von Alexandre Leclerc - am 01.04.2015 17:05
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.