Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create exe file with multi-forms

Status
Not open for further replies.

sdmi

Programmer
Dec 6, 2001
17
US
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.
 
HI

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. :)


ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top