Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for ShowWindow property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00410869
Message ID:
00410946
Vues:
14
>Hello to all, I'm new to VFP6 programming but I have done quite a lot in Clipper. I can ususlly do OK with the code, but I have trouble using the OOP interfaces.
>My current problem is attaching a menu to a form. To do this, I read that the form must be a top level form and to make it so I must set the forms ShowWindow property to 2 for top level. But, I can't find the ShowWindow property in the list of properties that appear in the property window when I have the form selected. I tried to add a new property of the same name but I get a warning that that property name is already in use.
>
>Any help to this basic question would be appreciated.

It's alterable at design time, but read-only at runtime; changing the modal nature of a form instance requires you to pass the appropriate parameter to the Show() method of the Form - I believe oForm.Show(1) will make the Form modal (see the Show() method of Form for details.)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform