Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Phantom Vertical Scroll Bars
Message
De
03/07/2011 00:41:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01517074
Message ID:
01517182
Vues:
60
>Well I believe I found a workaround to the problem. The clue was that when I switch from page to page the scroll bars go away. So I put in the activate method of the page having the issue "this.refresh()" (since each page's click method contains a refresh command). I have learned that when the OS switches window focus the activate method is one of if not the first to fire.
>
>It would be nice to know the real reason for the "bleed through", but for now this fixed the problem.

If you wanted to investigate further you could try wrapping your WordCheckSpelling() function:
* 1. LockScreen

MyForm.LockScreen = .T.

WordCheckSpelling()

MyForm.LockScreen = .F.

* 2. AutoYield/DOEVENTS

_VFP.AutoYield = .F.

WordCheckSpelling()

_VFP.AutoYield = .T.
DOEVENTS
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform