Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PM on new Win 10 PC
Message
From
22/01/2019 05:39:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
22/01/2019 05:35:21
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:
01665608
Views:
54
>>>>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.
>
>
>>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform