PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → How do you Retrieve Initial Content of a Combo Box in a Looper
How do you Retrieve Initial Content of a Combo Box in a Looper
Iniciado por Tony Turner, 15,abr. 2014 16:34 - 3 respuestas
Publicado el 15,abril 2014 - 16:34
Hi

I have a combo box in a looper set as initial content.

How do you retrieve the selected item of the combo in the looper?

Thanks

Tony
Publicado el 15,abril 2014 - 20:04
Hi Tony

you set up ANOTHER attribute on the VALUE property of your combo, and
you retrieve it using THIS attribute, the same way that you do for
everything in a looper

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXShowroom.com is available: Show your projects!
More information on http://www.fabriceharari.com


On 4/15/2014 8:34 AM, Tony Turner wrote:
Hi

I have a combo box in a looper set as initial content.

How do you retrieve the selected item of the combo in the looper?

Thanks

Tony
Publicado el 16,abril 2014 - 23:44
Hi Fabrice

Fantastic, works great.

The days I have tried to get that working ..

Thanks

Tony
Publicado el 17,abril 2014 - 11:28
Hi Tony

> Fantastic, works great.

Happy to hear that...

The days I have tried to get that working ..

That's because you are not used to work with loopers yet. If you miss
THE fact that EVERYTHING goes through attributes, it's quite normal to
be in the situation you were...

The worst part is that they were not consistent across tools. In theory,
for all tools, everything should be done via attributes, however, in
WinDev SOME things work with direct access on looper fields while other
needs the attributes. In WebDev, it's clearer, ATTribute or death :-)

best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXShowroom.com is available: Show your projects!
More information on http://www.fabriceharari.com

Thanks

Tony