Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form controls sometimes invisible
Message
 
 
À
06/07/2009 10:53:45
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01409187
Message ID:
01410278
Vues:
43
>Christof,
>
>EnableWindow(hWnd,1) didn't do anything obvious. Here are some more behaviors when the form comes up blank, (which isn’t every time):
>
>1.The form instantiates not painting, the form has the image of whatever is behind it.
>2.The oForm LockScreen = .F. at this point.
>3.Moving the form half off the screen “wipes” that portion of the form displaying the forms backcolor.
>4.Replicate(‘x’,1000) writes 1000 ‘X’es on the form.
>5.Moving the form half off the screen leaves the ‘X’es intact.
>6.CLEAR clears the form of everything.
>7.oForm.LockScreen = .T. followed by replicate(‘x’,1000) shows nothing
>8.oForm.LockScreen = .F. followed by replicate(‘x’,1000) shows 1000 ‘x’es as we would expect
>9.The controls are active, meaning that data can be entered, edited and saved, mousepointer icons are active, keypress events are captured, etc.
>
>I've captured DISPLAY MEMORY and DISPLAY STATUS to files in the Load() and Destroy() methods of forms that came up properly and blank and DIFFed the files only to see no differences except a few things like temp index names, for example, which I expect to be different.
>
>I'm starting to believe that this is something internal that will never show on the surface, i.e., be a settable property or callable method. Thanks for thinking about this and offering suggestions.
>
>Gary
>

What code do you have in Form's Activate?

Did you try to put thisform.cls() there just in case ?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform