PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WDM22 - Check Box In Looper
WDM22 - Check Box In Looper
Débuté par André Labuschagné, 22 aoû. 2018 20:50 - 6 réponses
Posté le 22 août 2018 - 20:50
Hi All

I have a check box in a looper. On row selection I want to assign the check box as selected AND deselect the check box in all other rows in the looper. Tried a few tricks with no positive results.

Any ideas?

Cheers
André
Posté le 23 août 2018 - 02:55
Hi André

it depends on the type of looper...


For a looper filed by programming (ie not linked to a file or query), you can use the selection code area to do something like this:
For iIndex=1 to loopercount(mylooper)
ATT_Checkbox[iindex] = false
end
att_checkbox=true

best regards
Posté le 23 août 2018 - 03:04
Hi Fabrice

Thanks for that. I had actually found the error in the code - I had messed up the counter.

Lots of late and full nights of coding going on here - chasing a deadline....

Cheers
André
Posté le 23 août 2018 - 03:21
I absolutely LOVE deadlines! They make such a nice whooshing noise as they pass by!

:xcool:
Posté le 24 août 2018 - 20:04
Hi Art

You wrote:

>I absolutely LOVE deadlines! They make such a nice whooshing noise as they pass by!

LOL

Like work - I can sit and watch it all day long....

I tell you what - WX makes deadlines a lot easier to meet. The ease with which we are able to change the mobile and web apps on the fly is great.

Back to work.....

Cheers
André
Posté le 25 août 2018 - 19:57
Another wittyism...

"Work is a four letter word."

(that may not translate well overseas... 'four letter word' has a specific meaning here in the States...)
Posté le 25 août 2018 - 20:46
Hi Art

You wrote:

>>'four letter word' has a specific meaning here in the States...

It is universal in English speaking countries - understood and yes, work is a four letter work at times. But sometimes it can be fun and nice.

Cheers
André