Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FormSet address in a cursor
Message
De
22/07/2016 06:33:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
21/07/2016 23:38:48
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:
01638556
Vues:
88
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform