Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good Class Design Pays
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00137299
Message ID:
00137313
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform