Information générale
Catégorie:
The Mere Mortals Framework
Titre:
GoApp's Form Manager
Does anyone know why only nonmodal forms get registered by the goApp's Form Manager?
A problem occured when we wanted to access a value from a report form. What happens is that you can launch the report form, and it in turn launches the ReportObj. Inside the ReportObj, (maybe even inside the ReportDataEnvironment) it will launch a 2nd form, the one that allows you to make changes to the report's view (sorting option, view parameters, etc)
The problem is, on this 2nd form, I want to be able to access some information found on the original ReportForm. But there is no way to reference it, since it was code inside the ReportDataEnvironment that launched this 2nd form.
So one solution was to cycle through the goApp's Forms, since I know there will be only one type of "ReportForm" up. However, like I mentioned in the first paragraph, ReportForm is modal, and doesn't get registered by GoApp's Form Manager.
Our solution was to manually register the ReportForm when it's created, and Unregister it when it's closed. Are there any problems we should be aware of while doing that? And if so, any other solutions? Thanks.
Dustin
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement