Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Prob
Message
De
01/02/1999 13:23:16
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00182574
Message ID:
00182601
Vues:
12
I had developed in FP2.6 for about 2 years but have use VFP 5/6 for the last year or so and when I have used MAXIMIZED windows I have not used the RELEASE command and I have never had a problem until this AM. This is why I had always assumed that DO FORM released the existing form.

If I wanted to use multiple forms at the same time I developed FORM SETs.

Do you know if RELEASE ALL releases all forms in memory or if RELEASE ALL just releases variables?



>RELEASE gets rid of the instance of the object.
>
>I don't know how you've gone without releasing the forms? Do you just pile the forms one on top of another? Are you in VFP? Maybe this is some 2.6 thing... In VFP, you put an OK button on your form. When the user is done with that form, they click on OK and it releases the form. This is standard Windows behaviour.
>
>-Michelle
>
>>I have never used the release command, therefore my existing apps (which are fairly complex) should blow up after a few hours, but they do not.
>>
>>
>>MSDN is not clear (to me) on two RELEASE issues:
>>1: Does RELEASE ALL, release variables and forms or just variables?
>>
>>2: Does RELEASE ALL, release the values of variables or the variables themselves (i.e. if I had defined TEMPVAL as a PUBLIC variable, would TEMPVAL still be usable or would I have to define it as PUBLIC again)?
>>
>>
>>>Why would it run out of memory? You load the form when you need it, you release it when you're done. Am I missing something?
>>>
>>>-Michelle
>>>
>>>>I just found RELEASE in MSDN so I now know what closes forms but if DO FORM XXX.SCX does not close the current form then after a few hours of use shouldn't machines start running out of memory. I have not noticed any degridation in performance over a full days use of my apps.
>>>>
>>>>What does close the current form?
>>>>
>>>>>DO FORM doesn't close the current form. The rest, I don't know.
>>>>>
>>>>>-Michelle
>>>>>
>>>>>>When a form is called via DO FORM XXX.SCX is the current form not closed automatically???
>>>>>>
>>>>>>I have a situation in which one form that is set to 800x600 but displayed on a 1024x768 screen fills all 1024x768 with the background picture (which is desirable). After a user presses a button, another 800x600 form is displayed on the 1024x768 screen is called but the new form does not fill all 1024x768. Instead, the 'calling' form's background stays in the 'unused' portion of the screen and as as such a user could click on that previous forms background and move it to the top.
>>>>>>
>>>>>>I always thought that DO FORM XXX.SCX closed the current form. Is this not the case???
>>>>>>
>>>>>>Also, I can not figure out why some of my forms sometimes have their background display tiled all the way out to the 1024x768 (as I wish) and others fill only the 800x600 and leave the balance as white (with the exception of the above noted form in which I am realy grasping at staws).
>>>>>>
>>>>>>Ideas???
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform