@andyglezl It will not be correct, because you would have to handle the window closing event and remove it from the aChildForms array.
If you want to check for instances of a given window type, you can use this function:
Edward.
Hola EDK
(Lo siento, me enfoque en lo que yo estaba haciendo...)
Tienes razón, aunque si estoy controlando el cierre de las ventanas.
En mi caso, solo guardo algunos datos de las ventanas CHILD (no todas) que voy creando
en esa opción del programa para poderlos utilizar mas delante hasta el cierre de la misma.
(de hecho, lo estoy utilizando con tu ejemplo)
https://www.hmgforum.com/viewtopic.php? ... 9&start=10
*-----------------------------------------------------------------------------------------------------------------------------------------
Hi EDK
(I'm sorry, I focus on what I was doing ...)
You are right, although I am controlling the closing of the windows.
In my case, only save some data from the CHILD windows (not all) that I am creating
in that option of the program to be able to use them more ahead until the closing of the same.
(in fact, I'm using it with your example)
https://www.hmgforum.com/viewtopic.php? ... 9&start=10
Gracias por esta nueva herramienta que nos compartes !
*-------------------------------------------------------------------------
Thank you for this new tool that you share with us!