Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSession.Controls
Message
From
19/08/1999 12:55:47
 
 
To
19/08/1999 12:10:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255352
Message ID:
00255378
Views:
12
>Is there a way to loop through all controls in a datasession ( I didn't see a controls or objects property ) and only choose the Cursor base classes, or do I have loop hrough the work areas period?

You can do the obvious (SET DATASESSION TO bletch, and then populate an array using AUSED() to get the list of active work areas and their associated aliases), or populate an array of objects from Thisform.DataEnvironment and spin through the array from there. There's a nice exmple of this technique in Jim Booth and Steve Sawyer's Effective Techniques for Application Development with Visual FoxPro 6.0 for their FrmData class.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform