Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling method
Message
 
To
08/02/1999 13:50:27
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00185088
Message ID:
00185288
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform