Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00185088
Message ID:
00185300
Vues:
37
My God :). But George, what you describe there is a feature, not a bug. :)

Marc


>>I remember someone alluding to problems with DODEFAULT() I just can't remember the specifics.
>>
>Hiya John,
>
>Besides the one Christof mentioned there was problem in 5.0 which went like this. Say you had a method with a parameter statement. If one wasn't passed you got either a data type mismatch or non-numeric value error which you issued DODEFAULT() with the non-existant parameter. If you tried to work around it like:
>LPARAMETER pcCharStr
>IF TYPE('pcCharStr') = "C"
>  DODEFAULT(pcCharStr)
>ELSE
>  DODEFAULT
>ENDIF
>For some reason this messed with the event instantiation order so that Load, Init, Show, Activate, and GotFocus got changed to Load, Init, Activate, Show, GotFocus. I don't know the details, but I think Drew Speedies mentioned in it the latest FPA.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform