Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Assign Method Bug
Message
From
21/10/1998 13:08:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_Assign Method Bug
Miscellaneous
Thread ID:
00148984
Message ID:
00148984
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform