Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FormSet address in a cursor
Message
From
22/07/2016 09:46:06
 
 
To
22/07/2016 06:33:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01638546
Message ID:
01638558
Views:
80
>>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é
Previous
Reply
Map
View

Click here to load this message in the networking platform