Página 1 de 1

MDI question

Publicado: Sab Ago 19, 2006 12:57 pm
por Giuseppe Bogetti
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