Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form is not active on the second call
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249847
Message ID:
01249870
Views:
20
>Hi Naomi,
>
>>I'm not sure what's causing this strange problem and how to remedy it.
>
>have you verified that the Show method is indeed being called the second time?

Hi Christof,

Seems like I was right and the BINDEVENT to page.Activate was the culprit. Once I recoded without it, the problem doesn't appear anymore.

So, do you think it's important to always call unbindevents(this) in the object's Destroy method?

Thanks a lot in advance.

UPDATE. Nope, spoke too soon. The problem still seems to be occurring :( Though now this problem occurs with much less probability, e.g. not on the second call, but on ~8th call from the menu.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform