PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD17 - How to know which number of Looper is active?
WD17 - How to know which number of Looper is active?
Iniciado por guest, 07,ene. 2015 12:57 - 4 respuestas
Publicado el 07,enero 2015 - 12:57
I have a loope which contains 4 edit controls.

When an Edit Control gets focus I need to know as to in which particular Looper instance (repeatation) has got focus.

I don't know if I have managed to explain this properly. For example: In a looper which is repeated 70 times. Now when an edit controls gets focus I need to know as to which particular repeat ion of looper (count) the edit control that got focus belongs to.

I hope I have managed to explain this properly.

Is this possible?

TIA

Yogi Yang
Publicado el 07,enero 2015 - 13:04
Hello,

check out LooperInfoXY()
Publicado el 07,enero 2015 - 13:32
Hi

it looks like you are looking for looperselect

Best regards
Publicado el 07,enero 2015 - 13:35
Bart,

Thanks for the tip. It works!

I am also maintaining the same software in WM.

I found that what works in WD does not always work in WM. Is there any other command that I can use in WM?

TIA

Yogi Yang
Publicado el 07,enero 2015 - 14:43
Yogi,

I do this in the "when ever modified" event of a edit-control in a looper (wm19)
LOOP_Adresses.ATT_Modified = True
To indicate this row has been modified, so I can save it when closing the window.

So afaik you can use YourLooper..Value or just "YourLooper"