Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FormSet address in a cursor
Message
From
22/07/2016 06:33:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
21/07/2016 23:38:48
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:
01638556
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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform