Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define class Timer
Message
From
26/10/2005 01:25:04
 
 
To
26/10/2005 01:13:05
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062122
Message ID:
01062126
Views:
16
Hi,
AS the code you posted, variable "x" is not declared. VFP would create it as private variable. After the line of code x.activate(), is will be destroyed just like other local/private variable since no more other code.

Be in mind that, createobject("form") doesn't work like DO FORM.
Form created by DO FORM will not out of scope unless you put LINKED keyword.
However, form object created and assigned reference to a variable will be following variable life-time rules.

HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform