Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zoom to max or normal - how to avoid title bar flash
Message
De
29/11/2006 12:08:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01172840
Message ID:
01173353
Vues:
8
Sounds like a bug. You can create a method to do this which a) moves the screen left -5000, maximizes, and then moves right 5000. Might work. <s>

>In a test form that has no titlebar and no border, i.e.
>
>	Thisform.TitleBar= 0 && off
>	Thisform.BorderStyle= 0 && no border
>
>
>there is code to change the WindowState to Maximum. In a simple example, a command button on a form does this:
>
>
>Wait Window 'WindowState to: normal'
>Thisform.WindowState= 0
>
>Wait Window 'WindowState to: max'
>Thisform.WindowState= 2
>
>
>The problem is that the title bar flashes on briefly while it is changing the WindowState. Is there a way to avoid the Windows title flashing on then off when maximizing the form via code?
>
>Cyril.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform