Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: uses this.parent within an IIF() lock the form
Message
From
29/12/2011 06:40:56
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01531846
Message ID:
01531857
Views:
59
Likes (1)
>Hi Fabio,
>
>Hmm, is not first case with IIF(), but early case was fixed...
>
>You must use another construction
>
>IF thisForm#this 
>   xx=this.parent
>ENDIF
>... 
>
>
>MartinaJ
>
Hi Martina,
it is not difficult to find alternative solutions,
but it is very annoying to remember language development workarounds.

However, the error occurs if:
an object is evaluated in a comparison of IIF () or ICASE()
and the expression returned an object that evaluated .parent.

>>Run the attachment form.
>>Click on the botton.
>>try to release the form.
>>
>>The form is locked.
>>
>>I don't find a way to release it
>>without a CLEAR ALL command.
Previous
Reply
Map
View

Click here to load this message in the networking platform