Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Benny Thomas
  Where is Benny Thomas?
 Jeddah
 Saudi Arabia
 Benny Thomas
 To: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 Tags
Subject: RE: Bernard New CA Tutorial
Thread ID: 207921 Message ID: 209406 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Databases, Tables and SQL Server
Date: Sunday, December 28, 2008 1:28:06 PM         
   


> Open the caCustomer class and in the CURSORFILL and AFTERCURSORFILL events add them as I said. Adding it to the BEFORECURSORFILL is NOT needed as the code you added when building the class is in the BeforeCursorFill so you don't need to add anything there, since the BeforeCursorFill will fire as soon as you call CursorFill. That is how events happen. Once added you can double click on the left of that line to add a breakpoint and then use F8 to step thru the code.
>
> Don't forget to type "ALFKI" first before clicking the Get Data button or you will get nothing.
>
Hi Bernard,

I removed the DODEFAULT code from caBaseClass and inserted the DODEFAULT now to caCustomer as mentioned by you. Entering 'ALFKI' displays one record in the grid and entering 'A' displays 4 records. No problem. While running the form for the first time (after inserting DODEFAULT as above), it brought the trace window on the break points, however any subsequent run, it directly goes to the form and waits for the input and no trace window. I exited VFP, started and ran the form again - no trace window. I opened the caCustomer class, the codes (DODEFAULT) are still there with the RED dot to its left. Why is it not bringing the trace window for the subsequent runs? Is it natural?

Benny


> Bernard
>
> ** If you see someone without a smile, give em one of yours :) **
> My Blog 8-)

ENTIRE THREAD

Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/16/2008 5:48:39 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/17/2008 1:19:32 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/17/2008 9:58:17 AM
RE: Bernard New CA Tutorial Posted by Olaf Doschke @ 12/17/2008 11:13:03 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/18/2008 11:42:15 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/20/2008 11:36:39 AM
RE: Bernard New CA Tutorial Posted by Olaf Doschke @ 12/20/2008 4:57:07 PM
RE: Bernard New CA Tutorial Posted by mike castillo @ 12/17/2008 6:37:04 AM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/17/2008 8:24:09 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/17/2008 8:44:56 AM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/17/2008 10:13:27 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/17/2008 11:37:33 AM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/18/2008 1:03:25 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/18/2008 7:18:21 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/17/2008 4:04:16 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/18/2008 1:41:38 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/18/2008 11:07:33 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/18/2008 11:22:01 AM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/18/2008 10:35:08 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/19/2008 12:58:58 AM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/20/2008 8:42:36 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/20/2008 11:41:19 AM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/20/2008 3:24:12 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/21/2008 8:08:23 PM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/22/2008 4:20:13 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/23/2008 12:29:14 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/27/2008 3:46:28 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/27/2008 7:01:42 PM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/28/2008 6:49:03 PM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/28/2008 1:28:06 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/21/2008 6:02:22 AM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/19/2008 3:03:36 AM
RE: Bernard New CA Tutorial Posted by Mike Yearwood @ 12/19/2008 4:06:01 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/21/2008 6:14:24 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/20/2008 11:43:57 AM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/21/2008 6:10:28 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/21/2008 12:16:35 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/22/2008 3:58:52 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/22/2008 1:54:03 PM
RE: Bernard New CA Tutorial Posted by Mike Yearwood @ 12/22/2008 4:22:56 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/22/2008 9:50:31 PM
RE: Bernard New CA Tutorial Posted by Olaf Doschke @ 12/22/2008 11:46:57 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/23/2008 10:33:40 AM
RE: Bernard New CA Tutorial Posted by Mike Yearwood @ 12/23/2008 3:03:19 PM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/23/2008 3:44:50 PM
RE: Bernard New CA Tutorial Posted by Olaf Doschke @ 1/4/2009 5:36:49 PM
RE: Bernard New CA Tutorial Posted by Mike Yearwood @ 12/23/2008 2:59:27 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/23/2008 5:30:16 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/23/2008 10:26:32 AM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/23/2008 11:29:09 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/23/2008 12:05:15 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/24/2008 2:24:57 AM
RE: Bernard New CA Tutorial Posted by Benny Thomas @ 12/22/2008 4:24:34 PM
RE: Bernard New CA Tutorial Posted by Bernard Bout @ 12/23/2008 5:29:27 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/18/2008 7:09:59 PM
RE: Bernard New CA Tutorial Posted by mike castillo @ 12/17/2008 11:10:00 AM
RE: Bernard New CA Tutorial Posted by Samir Ibrahim @ 12/17/2008 11:43:42 AM