Then of course you also tried already _not to Release it, right? <s>
Or re-Define it from scratch w/o defining any Bar?
define popup oldName from -100,-100 to 0,0
_screen.Refresh()
_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