Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get windowType value...
Message
From
02/11/2004 12:35:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00957107
Message ID:
00957141
Views:
20
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform