Hi!
I decided that I could see no need for a menu in the program I am rewriting from old dos FP to VFP 6.0 so I am trying to use a main form as my startup. If anyone has reasons not to do this I would appreciate hearing them.
I created a MAIN.PRG with SET ,DEFAULT, PATH, etc.
Then DO FORM MyMainForm follow by READ EVENTS
When I run MAIN.PRG, the FORM MyMainForm is not displayed.
If I step through it in debug it is displayed!!! Why??
I removed the READ EVENTS and it runs from the MAIN.PRG.
I was using craigsboyd's answer in thread #1085137 as a guide in looking for the solution and tried another form, a top level form, so I am thinking that I have set something somewhere that is causing the behavior.
Would someone please explain the use of a Top Level form and is that the form that you want to be the first displayed or an additional form.
As I said, the form loads without the READ EVENTS but it will not call other forms as I need it to do.
ANY help will be appreciated.
Judi
I decided that I could see no need for a menu in the program I am rewriting from old dos FP to VFP 6.0 so I am trying to use a main form as my startup. If anyone has reasons not to do this I would appreciate hearing them.
I created a MAIN.PRG with SET ,DEFAULT, PATH, etc.
Then DO FORM MyMainForm follow by READ EVENTS
When I run MAIN.PRG, the FORM MyMainForm is not displayed.
If I step through it in debug it is displayed!!! Why??
I removed the READ EVENTS and it runs from the MAIN.PRG.
I was using craigsboyd's answer in thread #1085137 as a guide in looking for the solution and tried another form, a top level form, so I am thinking that I have set something somewhere that is causing the behavior.
Would someone please explain the use of a Top Level form and is that the form that you want to be the first displayed or an additional form.
As I said, the form loads without the READ EVENTS but it will not call other forms as I need it to do.
ANY help will be appreciated.
Judi