Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PM on new Win 10 PC
Message
From
22/01/2019 07:20:46
 
 
To
22/01/2019 05:39:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01665495
Message ID:
01665614
Views:
71
>>>>>Create a new menu "Compile active project external"
>>>>>Determine Activeproject, close the project, call the external VFP, and reopen project afterwards.
>>>>>;)
>>>>
>>>>Ahem..., "Build...". :)
>>>>
>>>>Will try something like this in a ProjectHook class when possible, and come back with whatever findings I get.
>>>
>>>I think you will become problems from a project hook. You would need to kill a object from itself and rebuild from the same code. This might not work.
>>
>>Just to keep the brainstorming mood on: I think the .Close() method of ProjectHook destroys itself and releases the project. Never tried it, though. Nevertheless, it must pass control to a different instantiated object for the reopening.

err... Project's object Close() method...

>>
>>
>>>BTW, to widen my last message:
>>>
>>>The code in the menu might create the prg mentioned earlier on the fly (e.g. insert the project in the code). Then you got something generic.
>>
>>What I've tried so far in a ProjectHook subclass creates the prg and the fpw, also. But stumbles in the exclusivity requirement of the builder.
>
>I think the tricky thing is the close - open from inside the instance. All I can think of:
>
>create an timer bound to _screen and let this timer do the work

Yes, if it will ever be functional I think it will have to go this route...
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform