Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling method
Message
 
À
08/02/1999 13:50:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00185088
Message ID:
00185288
Vues:
38
>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.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform