Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection Object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00273466
Message ID:
00274068
Views:
36
FYI, I used the "Form" class instead of the "Container" class. You can still refer to MyForm.Control(nIndex).PropertyName, plus you get the added bonus of the DataEnvironment object.

End result = When I instantiate the User object, it adds my remote views to the the DataEnvironment, adds the Rights objects to the Control collection for however many rights exist for the user, and adds the properties to each of the Rights objects in the collection. Now I can just query the the User.Rights(nIndex).PropertyName for whatever I'm looking for. When the User object is released, the remote views are closed.

Very clean. Self contained. Works great. Does just what I want. Thanks again for the pointer in the right direction.

Cheers!

Scott



>>"No thfanks, I can dwive jus fine. ."
>
>Take carre... Dive sathlty... :)
Scott A. Keen
MCP

"I'm not in denial. It's just not my fault."

"So long and thanks for all the fish."
Previous
Reply
Map
View

Click here to load this message in the networking platform