Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Remove Object added to _Screen
Message
De
20/09/1996 17:57:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00008239
Message ID:
00008320
Vues:
33
>>
>> >>I have created a visual navigation class for my application. After instantiating the object with
>> >>
>> >>oNavigate = CREATEOBJECT('navigation'),
>> >>
>> >>I add the object to _SCREEN using
>> >>
>> >>_SCREEN.AddObject('oNavigate')
>> >>
>> >>Before exiting the application, I want to remove this object.
>> >>
>> >>I issue _SCREEN.RemoveObject('oNavigate'). I am expecting the object to disappear from the screen. But this does not happen. After my application calls CL
>> >>
>> >>Is there another way to remove the object from the _SCREEN programatically?
>> >>
>> >>Thanx in advance.
>> >
>> >what about 'release oNavigate'
>>
>> Hi Dave,
>>
>> I have tried RELEASE oNavigate, but this does not remove the object from the _SCREEN.
>

>>> There is one thing I want to tell you. I found that working with _SCREEN object it's often helpful to create 'interrupt' issuing command like WAIT WINDOW "" TIMEOUT 0.1 to get right response. I use it many times to refresh desktop, but hopefully with VFP5 we will forget about desktop problems.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform