RE: Form Not Initializing

2013-01-23 Thread Richard Kaye
Contained controls init before the parent container. So if one of your controls is blowing up, there could be something in the framework that prevents the form from coming up. I've also seen this kind of behavior when there's a corrupted table or index. -- rk -Original Message- From:

Re: Form Not Initializing

2013-01-23 Thread Frank Cazabon
Jeff, I'm a little confused. You say you overrode the error routine to display the error but then you ask why would it not throw an error? Maybe your error routine is swallowing the error? Frank. Frank Cazabon On 23/01/2013 02:59 PM, Jeff Johnson wrote: I have a Visual MaxFrame form in

Re: Form Not Initializing - Solved

2013-01-23 Thread Jeff Johnson
I have 8 tabs on a pageframe and one of the pages has a pageframe on it. I was intentionally hiding one of the pages with a page.init = .f. I set page.init to .t. and it threw an error on the initialization of the contained pageframe. So the error was occurring on the init of the contained

Re: Form Not Initializing

2013-01-23 Thread Jeff Johnson
Frank: I override the form.error routine to display a messagebox only when I am debugging a form. I also have a dodefault() in there. Jeff --- Jeff Johnson j...@san-dc.com (623) 582-0323 www.san-dc.com www.arelationshipmanager.com On 01/23/2013 12:13 PM, Frank Cazabon wrote:

Re: Form Not Initializing

2013-01-23 Thread Frank Cazabon
I see you worked out what the problem was, but I'm interested in why you would override the form.error. During development VMP's error handler does not kick in so you'll get the VFP errors being displayed. WHy would you want something else? Frank. Frank Cazabon On 23/01/2013 03:19 PM,

Re: Form Not Initializing

2013-01-23 Thread Jeff Johnson
Frank: I always compile my exe and update it in a production environment. So I am always in the production environment. I have never been successful in testing in a development environment - other than unit testing of course. I know that VMP provides a great stand alone environment, but I

Re: Form Not Initializing

2013-01-23 Thread Frank Cazabon
Oh. That must slow things down during development. It's great to make a change to a form or class and just run it right then and there immediately. If I can help sort out the path issues let me know. Frank. Frank Cazabon On 23/01/2013 03:49 PM, Jeff Johnson wrote: Frank: I always compile

Re: Form Not Initializing

2013-01-23 Thread Jeff Johnson
I need to take the time to do that. I already have a Preparedata program so I can run my reports in development to find errors. I don't know how I lived without it. Thanks Frank! Jeff --- Jeff Johnson j...@san-dc.com (623) 582-0323 www.san-dc.com www.arelationshipmanager.com