Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 Tags
Subject: RE: Egg or bird: what's first?
Thread ID: 143433 Message ID: 143464 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, August 28, 2007 11:56:24 PM         
   


> >
> > That is the point :o)
> > Why you should subclass anything if you can;t change its default behavior.
> > In VFP If you put some code in th event code (i don't know how to describe this) the default event code waren't execute if you don't add DODEFAULT(...) in it.
> >
> > -----------------
> > Borislav Borissov
> >
> > Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
> > The only thing normal about database guys is their tables.
>
> "In VFP If you put some code in th event code (i don't know how to describe this) the default event code waren't execute if you don't add DODEFAULT(...) in it."
>
> Unless it is built-in:) Built-in code always executes at the end if not overridden by nodefault.
>
> Cetin Basoz

Quite correct - I forgot to mention the built in code. It ALWAYS executes unless you tell it not to. A good example is the keypress event. You can add code to the keypress event and the key will still be accepted and processed. On the other hand, if you were to add a NODEFAULT() command as the only command in the keypress event, it would basically shut down your keyboard.

Ken
You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

Egg or bird: what's first? Posted by Ilya Rabyy @ 8/28/2007 7:50:35 PM
RE: Egg or bird: what's first? Posted by Ken Murphy @ 8/28/2007 8:22:20 PM
RE: Egg or bird: what's first? Posted by Ilya Rabyy @ 8/28/2007 8:32:37 PM
RE: Egg or bird: what's first? Posted by Ken Murphy @ 8/28/2007 8:36:23 PM
RE: Egg or bird: what's first? Posted by Borislav Borissov @ 8/28/2007 11:42:40 PM
RE: Egg or bird: what's first? Posted by Cetin Basoz @ 8/28/2007 11:46:26 PM
RE: Egg or bird: what's first? Posted by Ken Murphy @ 8/28/2007 11:56:24 PM
RE: Egg or bird: what's first? Posted by Borislav Borissov @ 8/28/2007 11:56:41 PM
RE: Egg or bird: what's first? Posted by Ken Murphy @ 8/29/2007 12:03:44 AM
RE: Egg or bird: what's first? Posted by Cetin Basoz @ 8/29/2007 12:07:00 AM
RE: Egg or bird: what's first? Posted by Cetin Basoz @ 8/28/2007 11:31:35 PM