Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox Ghosting
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01584331
Message ID:
01584449
Views:
153
I put THISFORM.DRAW() into the right-click of the form and after the ghosting appeared I did a right-click. It didn't refresh the form and remove the ghosting.

The only work-around I have now is checking if that page is active when saving and if so, set the form visible property to .F. and then back to .T. That clears the ghosting.


>The .Draw() normally fixes these things because it repaints the screen as opposed to Thisform.Referesh() which only refreshes data. Try placing Thisform.Draw() in the rightclick event of the form the ghost image appears in then right click after it appears. If that fixes it let me know and I'll detail the next step.
>
>John.
>
>
>>The ghosting happens as soon as I click the Save button in a toolbar. The button calls a save method of the form. If I stop execution at the beginning of the save method the ghosting is already there. I tried doing a THISFORM.DRAW() in the save method and it had no effect.
>>
>>This ghosting only happens if the page with the listbox control is active when the save button is clicked. I've tried changing the activepage to another page at the beginning of the save but the ghosting has already occurred.
>>
>>
>>>Phil,
>>>Try Thisform.Draw() in whatever code you can when it shows.
>>>
>>>John.
>>>
>>>
>>>>I've got a pageframe with a listbox on it that ghosts onto the part of the form that doesn't have a pageframe like the attached graphic.
>>>>
>>>>I've tried turning themes off. The listbox ghosts onto the form without deactiving the page it's on so making it invisible won't work. What other tricks are there to get past this bug.
>>>>
>>>>This is with VFP9 SP2 running on Win8 and Win7.
>>>>
Phil Sherwood
SherWare, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform