Jose,
Let's use an example to show this. You have a combobox class with code in the .When and .Valid events. You subclass your combobox and want *different* logic in the .When and *additional* logic in the .Valid:
.When
{your new code}
NODEFAULT
.Valid
{your additional code}
DODEFAULT()
The one thing to remember with DODEFAULT() is that if the method/event has a parameter, include it like so DODEFAULT(parameter). HTH
>Many answers to questions have NoDefault or DoDefault, and I tried to use the code of an answer and when VFP compiles it an error ocurrs.
>And i wish to know what they mean and how to use it.
>
>Who could tell me about?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.