Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get windowType value...
Message
De
02/11/2004 12:35:06
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00957107
Message ID:
00957141
Vues:
21
>>How about surfing the _screen object?
>>lnwindowtype=_screen.WindowType
>>
>>While discussing _screen let me recommend it's use for other things. I use it to store user information by adding properties when someone logs into one of my applications. It is also a very quick way to get that data as in _screen.user where I have previously created that property and populated it.
>
>I'm really looking for the "form" WindowType value that I have not instantiated yet, not the _Screen. I need to know this value before I start the form or the class.


Mike

After creating the form with either CreateObject or NewObject, you can refer to the WindowType as:
lnWindowType = loForm.WindowType
HTHs
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform