PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] ComponentInfo() does not retrieve anymore results after use EnumElement() on that component
[WD20] ComponentInfo() does not retrieve anymore results after use EnumElement() on that component
Iniciado por guest, 08,feb. 2018 09:15 - No hay respuesta
Publicado el 08,febrero 2018 - 09:15
Hi,
I have this code

Info(ComponentInfo(CMP_Mycomponent,ciVersion))
sListComponent is string = ComponentList()
FOR EACH STRING sComponent OF sListComponent SEPARATED BY CR
sWindowName is string = EnumElement(enumWindow,ExtractString(sComponent,1))
WHILE (sWindowName <> "")
IF sWindowName <> "" THEN gaaWindows[sWindowName] = ""
sWindowName = EnumElement()
END
END
Info(ComponentInfo(CMP_Mycomponent,ciVersion))

On first Info I get the right version, on the second one i get no results.
Do you have an explanation for this?

Dann