>The problem with this code is that the init of this subclass will always return true, even if the default code in the parent class returned a .F. Obviously, the fix for this would be :
>**************
>LOCAL llRetVal
>llRetVal = DODEFAULT()
>
>IF llRetVal
>_do_some_code
>ENDIF
>
>RETURN llRetVal
>**************
I use the version:
IF DODEFAULT()
* do some code here
ELSE
RETURN .F.
ENDIF
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison