Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windowstate=2
Message
De
20/03/2001 00:32:08
 
 
À
19/03/2001 21:36:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00486723
Message ID:
00486758
Vues:
7
>Hi,
>I have a form windowstate of which is set at 2. As I experienced with other forms before, I expected this form to fill up the sreen upon instantiation, but it wouldn't. I went around by adding KEYBOARD '{CTRL+F10}' at the end of the gorm's Init method, but I think this is not the right way. Where should I check to understand the problem?

Rather than that, have the form start with Visible = .F., and try adding the following to the Init:
WITH thisform
   .LockScreen = .t.
   .WindowState = 2
   .Visible = .t.
   .LockScreen = .f.
ENDWITH
This will force the Form to maximize before it becomes visible.
>
>cycho@nuri.net
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform