Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FormSet address in a cursor
Message
From
22/07/2016 13:34:41
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
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:
01638560
Views:
81
>>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.

That was my main gist - the wheel has already been invented, just need to find an instance somewhere.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform