Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Ghosting
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01584331
Message ID:
01584457
Vues:
59
Phil,
Thanks for the info. Usually the draw() method will clear all kinds of muck off a form. Remember, Draw() repaints the form, refresh() updates the data. Glad to hear you got it fixed. Sounds like an ingenious fix. I like it.
John

>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.
>>>>>
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform