Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Assign Method Bug
Message
From
21/10/1998 13:38:06
 
 
To
21/10/1998 13:08:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00148984
Message ID:
00149001
Views:
33
Hi Jeff ---

I don't see this. What type of object are you trying this with?

>
>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform