Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox with Popup as a control source problem. VFP5
Message
De
24/09/2004 16:48:44
 
 
À
24/09/2004 05:48:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00945643
Message ID:
00945892
Vues:
20
OK, finally solved the problem.

The solution is to make sure that the popup box is deactivated and released before listbox. By deactivating and releasing the popup from the destroy event of the form the popup outline no longer appears.

Thanks for your help.

Mace

>Then of course you also tried already _not to Release it, right? <s>
>Or re-Define it from scratch w/o defining any Bar?
>
>&& SWAGs
>define popup oldName from -100,-100 to 0,0 && or
>_screen.Refresh() && or
>_screen.Paint()
>
>
>
>hth
>-Stefan
>
>>Yes we are releasing the popup. It is actually at this point that the outline/shape appears and is left on the desktop.
>>
>>Our code will not work in anything above 5, due to the way that the objects are released in the app.
>>
>>Mace
>>
>>>Have you tried an explicit RELEASE POPUP xy , e.g. in Listbox.Destroy() ?
>>>Since Vfp 5 is quite old, did you try if your code works better in Vfp9 Public Beta?
>>>
>>>hth
>>>-Stefan
>>>
>>>> We have a VFP 5 application that has a listbox that uses a popup as its control source.
>>>> We have noticed that when this form is released, there is a shape/outline of the popup
>>>> on the desk top. Sometimes it is even possible to click on the shape, and the active
>>>> form will actually loose focus. Apparently there is nothing in memory as the popup is
>>>> destroyed when the form is released.
>>>> It is looking likely that we will have to change this control to a grid to avoid this
>>>> propblem, but before we do, does anyone know another simpler work around for this problem
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform