Friends, I have created a program that starts with a PRG where I do some settings, then I call up a welcome form and followed a Read Events.
The welcome form has an exit option and I put Clear Events, this form checks if the program is licensed or is an evaluation version and depending on that it calls a configuration form or a main form.
When calling the configuration form or the main form, Read Events is not declared.
I only do it in the startup program.
And I declare Clear Events on every exit button of the program before Quit.
All my forms are top level.
In the main form I also have the function of placing it in the Systray.
But only the welcome form appears, the other forms do not appear.
As if after the welcome form the program was exited.
The welcome form has an exit option and I put Clear Events, this form checks if the program is licensed or is an evaluation version and depending on that it calls a configuration form or a main form.
When calling the configuration form or the main form, Read Events is not declared.
I only do it in the startup program.
And I declare Clear Events on every exit button of the program before Quit.
All my forms are top level.
In the main form I also have the function of placing it in the Systray.
But only the welcome form appears, the other forms do not appear.
As if after the welcome form the program was exited.