Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection Object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00273466
Message ID:
00274068
Vues:
37
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."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform