>>>>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.
OffThere is no place like [::1]