Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good Class Design Pays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00137299
Message ID:
00137313
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform