Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal Form
Message
De
06/11/2007 11:46:46
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
06/11/2007 11:10:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01266190
Message ID:
01267012
Vues:
18
>This code in Resize method make it works:
>
>
	*!*	Work around the bug with minimizing modal form
>IF this.windowstate # 1 && if this window is minimized
>	FOR EACH oForm IN _SCREEN.Forms && loop through all the formas
>			IF oForm.WindowType = 1 && if found modal form
>                            lcModalForm= oForm.Name && name of modal form			
>                            WITH &lcModalForm
>				.windowstate = 2 && Maximize modal form
>				.windowstate = 0  && put modal form in normal size
>			ENDWITH
>		ENDIF
>	ENDFOR
>ENDIF
Not quite sure what you're doing here... but, doesn't it flash? It probably doesn't have the time to show at all between the maximized and normal states, but on some machines it might.

Also, why "WITH &lcModalForm" - you already have a reference to it, the oForm itself, you can simply do "with oForm".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform