Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show form maximized problem
Message
 
À
21/11/2003 15:57:52
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00852423
Message ID:
00852475
Vues:
9
Try adding in Thisform.LockScreen = .T. before calling MyResize() and Thisform.LockScreen = .F. after setting the Tag. That might help the flicker.

When I did this I was using an ActiveX control (ListView)only and the Lockscreen didn't seem to work against it. With native container though, it might.

Richard

>Thanks Richard.
>
>Your suggestion works, but, it's not perfect:) My only complaint about this workaround is that my form can be seen displayed at it's design time size for about a split second before it actually maximizes. This produces a flickering effect. Oh well, it's one step closer...
>
>Do you think that the issue I've described in my original message (and that you've also run into) is a VFP bug?
>
>Mike
>
>
>>I hit this before in one of my own. Try working in the Activate Event. See if that helps. You may need to block it off with something like:
>>
>>IF EMPTY(THISFORM.Tag)
>> thisform.MyResize()
>> thisform.Tag = "1"
>>
>>ENDIF
>>
>>HTH
>>Richard
>>
State of Florida, DCF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform