Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FormSet address in a cursor
Message
De
22/07/2016 09:46:06
 
 
À
22/07/2016 06:33:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01638546
Message ID:
01638558
Vues:
70
>>All of the VFP frameworks I've encountered include a Forms Manager which does these kinds of things. I haven't worked with CodeMine but IIRC you have used it. If it includes a Forms Manager you could get some ideas from that.
>>
>>I believe this is one case where you'd need to use an array instead of a cursor. Array elements can contain object references.
>
>I was about to suggest a collection, simply because its key can be any arbitrary string.
>
>If the collection would keep the only reference to the form, then releasing the form would be done simply by removing it from the collection. But then we already have a reference to all the forms - _screen.forms, so why invent warm water (or spanish wax or hole in the flowerpot... we have quite a list here). The selector combo can be built from that.

Thank you Al, Greg and Dragan for the suggestions.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform