Peter,
When I have had this happen it is that the source code for the base class
isn't available due to caching or another reason i.e datestamp on the
compiled code is later than on the source code. 

Try manually compiling it.

Dave Crozier


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Peter Hart
Sent: 03 August 2009 07:45
To: ProFox Email List
Subject: RE: Problem with base form

Hi All

I seem to have a problem with my application which may or may not be a
bug. It is to do with Inheritance.

I have a base form with code in its load event which opens my table
location table and logs the employee to what time and date they accessed
what form.

Do OpenDatabase && Open DBC and the DB_Loc'n.dbf (Location Table)
Do LogForm With pnEmployeeNo && Public variable which holds Employee
Logged on

First line in the Load of each created form is

DoDefault()

The problem is that in design mode only when I test a form it hops over
the DoDefault() without running the inherited code.
If I set a breakpoint in my base form then the debugger opens at that
point and from then on the parent form runs correctly.

Anyone else seen this problem.  I get round by manually resuming after
the breakpoint but it is annoying.

Cheers

Peter 
Peter Hart Computers

 



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/7858074da8854a23b061e211308f3...@develop
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to