Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing public variable
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00875746
Message ID:
00876708
Views:
12
It's still happening. I am developing a form but unless I close VFP the positions
for the form -- Left = xxx -- will not change. I now use clear all,
clear program, clear class - all class names I createobjects for, release all variables.
So, I was wondering how I can test to see what's still in memory. Is there a way I
can use the code above to do so? To see if TestForm is in memory?
Thanks
STeve

set deleted on
*set deleted off

ox = createobject( "pseudostatic" )

? ox.cSetDeleted
? om.cSetDeleted

ox = .null.

set deleted off

oy = createobject( "pseudostatic" )
? ox.cSetDeleted
? oy.cSetDeleted && ON, not OFF because the initial value
&&&&&&&&&&&&&&&&&&&&is copied from the cache as created at the first instance
oy = .null.

clear class pseudostatic

oz = createobject( "pseudostatic" )

? oz.cSetDeleted


define class pseudostatic as custom
cSetDeleted = set( "deleted" )
enddefine
DEFINE CLASS TestForm AS form
Top = 2
Left = 2
Height = 490
Width = 790
Caption = "Is this in memory?"
WindowState = 2
ENDDEFINE && contact2
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform