Hi,
I'm developing an MDI application.
I have a function that makes the connection to a folder containing the
tables I need to manage, each table opened into a MDIChild form.
There can be multiple folders used at the same time.
I have also a function that disconnect the selected folder.
In this function I must close all the child windows that use tables from
the folder I'm disconnecting from. If at least one child form is not closed
the disconnection process has to be aborted. To do this I use the following
code:
FOR EACH oForm IN ::oMDIClient:aForms
oForm:Close()
// Close checking ????
// IF !( IsClosed )
// Stop disconnection process
// ENDIF
NEXT
The question is: How can I be sure that the form has been closed ?
-----------------------
I think I've found a little bug in the sintax highlighting for .RC files
Try use a definition like this
MSG_ASKEXITAPP "Confermi l'uscita dall'applicazione ?"
^ ^
+-----------+
this substring is not shown in red
The same string is displayed correctly in a .PRG file.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
MDI question
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm