I have a very strange problem with dialog boxes. The dialog boxes are build from resources.
The code looks like this :
- Code: Select all Expand view
PRIVATE LnDlg,ClkDlg
......
DEFINE DIALOG LnDlg NAME ...
......
ACTIVATE DIALOG LnDlg NOWAIT ...
......
DEFINE DIALOG ClkDlg NAME ...
......
ACTIVATE DIALOG ClkDlg NOWAIT ...
At a certain point, one dialog box needs to be ended. To do this, I use :
- Code: Select all Expand view
ClkDlg:End()
But what happens ? When the dialog box ClkDlg is ended here, the dialog box LnDlg is ended as well.
I also noticed that the problem only occurs when ClkDlg is defined before LnDlg is defined. If LnDlg is defined before ClkDlg, then the problem doesn't occur.
How can there be any connection between those dialog boxes ?
Why does LnDlg end when ClkDlg is ended ?
Thank you very much in advance for any help.