Hello to you,
I'm uisng vfp7
I open all my form in :
PUBLIC frmabc
DO FORM abc NAME frmabc LINKED NOSHOW WITH "xyz"
frmabc.show
When Closing the form, I issuing :
RELEASE thisform
At the same time, I opened about 10 forms that means I also has 10 public var referenced to the form's object.
I never release the public object because until now I don't have any trick to make it in the generic way.
I said that because, actually I opened all my form in :
frm = "abc"
public (frm)
do form (frm) name (frm) linked noshow with "xyz"
&frm..show
and then I also trapped the form's keypress event :
When ESC key pressed then RELEASE thisform
My questions :
1.In sometimes I got an error message like "not enough memory" or some like this. (CPU=Pentium I-166, Memory 32 MB)
I know this old PC even though at my country INDONESIA
2. should I set the forms object to NULL
Note : All of the control I used in form is based on my control (I'd subclassed it even the form)
Please advice
Steven
I'm uisng vfp7
I open all my form in :
PUBLIC frmabc
DO FORM abc NAME frmabc LINKED NOSHOW WITH "xyz"
frmabc.show
When Closing the form, I issuing :
RELEASE thisform
At the same time, I opened about 10 forms that means I also has 10 public var referenced to the form's object.
I never release the public object because until now I don't have any trick to make it in the generic way.
I said that because, actually I opened all my form in :
frm = "abc"
public (frm)
do form (frm) name (frm) linked noshow with "xyz"
&frm..show
and then I also trapped the form's keypress event :
When ESC key pressed then RELEASE thisform
My questions :
1.In sometimes I got an error message like "not enough memory" or some like this. (CPU=Pentium I-166, Memory 32 MB)
I know this old PC even though at my country INDONESIA
2. should I set the forms object to NULL
Note : All of the control I used in form is based on my control (I'd subclassed it even the form)
Please advice
Steven