Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Assign Method Bug
Message
De
21/10/1998 13:08:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
_Assign Method Bug
Divers
Thread ID:
00148984
Message ID:
00148984
Vues:
56
Hi All,

I have noticed that, in some cases, the parameter received by an _assign method is not what was passed - or that there is some sort of wait within the _assign method before the parameter receives the value.

For example:

This.Visible = .T. should pass .T. to the tlVisible parameter in the following _assign method, but it doesn't. The changing of the default "vNewVal" to "tlVisible" makes no difference.

PROCEDURE visible_assign
LPARAMETERS tlVisible

?VARTYPE(tlVisible) *** returns N (a numeric)
?tlVisible *** returns 0

This.Visible = tlVisible *** returns an error (obvoiusly)

ENDPROC

Iv'e also experienced a similar problem with assigning object referrences.

Has anyone else experienced this?

TIA
- Jeff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform