PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM20] Using recursion
[WM20] Using recursion
Iniciado por guest, 06,jun. 2016 19:48 - 2 respuestas
Publicado el 06,junio 2016 - 19:48
Good afternoon, I'm working in a project in which I have a combobox which is filled with some project names, but they are sorted by hierarchy, so I tried to create a function that calls itself at the end of it, but when I install my app in the device, it throws a Java exception, then I tried to achieve the same with an Internal Procedure, but this aren't allowed in Android, so I'm only left with loops and For each to work with. Is there a way to accomplish this? An example of how I want the combo to display the information is the following:

ALL
Developement
Project 1
SubProject 1
Sub-Sub Project 1
Sub-Sub Project 2
Project 2

Project 3


And so on
Publicado el 06,junio 2016 - 20:09
Hi,
the following: http://27130.foren.mysnip.de/read.php…
was posted by Carlo Hermus in 2010.

Although it works with a treeview, it should point you to the "right direction" for a solution with a combo.

Steven Sitas
Publicado el 06,junio 2016 - 21:55
Recursion is not officially supported. See the thread below.

http://27130.foren.mysnip.de/read.php…