I have project with 9 forms. When I build .exe file, my forms didn’t show. All forms are modeless. If I change forms to modal, my exit command stop working. (Thisform.unload, thisform.release). If anyone has some suggestions, I will be really appreciative.
1. You many not have issued the command
READ EVENTS
in the Main.PRG
.. for example.. in the main.prg.. after the code..
DO FORM myForm1
issue the command
READ EVENTS
2. In the Interface form, I suppose you are using it, since you have not talked about menu..
In its exit event, which shut down the application.. add the code,
CLEAR EVENTS
3. If the forms are modal, the forms could show up as you are having... to release the form,
in its exit button.. just put the code..
ThisForm.Release()
Make sure, the Relese event, does not have any other code or spaces... or .. id they do have the code, then add
DODEFAULT().. after the codes. This will solve your problem.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.