Page 1 of 1

Multiple Instances of TPXV_Control

Posted: Wed Oct 26, 2016 8:56 pm
by jeffp
I'm just checking back on a post I made earlier this year about having the ability to have multiple instances of TPXV_Control in the same application with each having their own IPXV_Inst.

In my application, I need a control that acts as a PDF Editor and one that acts as a PDF Previewer, each of which needs its own settings, etc. With the old ViewerAX I could just create two instances of that control.

You mentioned several months ago you were going to take another look at this.

Is there now a way to accomplish this with the new Editor SDK?

--Jeff

Re: Multiple Instances of TPXV_Control

Posted: Thu Oct 27, 2016 1:54 am
by Vasyl-Tracker Dev Team
You mentioned several months ago you were going to take another look at this.
Unfortunately, we were very busy with other important tasks - so currently I can say only: no, it still not implemented, sorry.
Biggest problem with that - its not to easy to make something like "isolated apartments" when we talking about general IPXV_Inst object. Because currently it is just single and root object of whole Editor API. To have possibility to allow create many instances of IPXV_Inst - the big part of Editor SDK must be refactored deeply before. But currently we still have many other tasks with high priority too and we haven't enough resources to do your task now. We planning to do it, but I cannot promise you when it can be done..

Re: Multiple Instances of TPXV_Control

Posted: Thu Oct 27, 2016 4:08 am
by jeffp
Ok. Fair enough. Just glad to know you are planning on it at some future date.

I'll bug you again about it in a few months. :-)

--Jeff

Re: Multiple Instances of TPXV_Control

Posted: Thu Oct 27, 2016 5:20 am
by Sasha - Tracker Dev Team
:)

Re: Multiple Instances of TPXV_Control

Posted: Thu Jan 19, 2017 3:15 pm
by jeffp
Just checking back again to see if this is going to be in the cards for a future release?

--Jeff

Re: Multiple Instances of TPXV_Control

Posted: Thu Jan 19, 2017 3:29 pm
by Sasha - Tracker Dev Team
Hello Jeff,

As far as I know - not for this one yet.

Cheers,
Alex

Re: Multiple Instances of TPXV_Control

Posted: Fri Mar 02, 2018 4:30 pm
by Erickc
Hello there!
As we may have a need for this feature, I'm doing a quick check with you guys at Tracker to see if there is any updates about its availability.
Cheers,
Eric

Re: Multiple Instances of TPXV_Control

Posted: Sat Mar 03, 2018 8:20 am
by Sasha - Tracker Dev Team
Hello Erickc,

Just asked one of our lead devs about this - he said that we won't be doing this now and we can't give you any eta either.

Cheers,
Alex

Re: Multiple Instances of TPXV_Control

Posted: Thu Dec 27, 2018 10:29 pm
by jeffp
Any more thought on this one? Is it something you plan on doing in an upcoming build?

--Jeff

Re: Multiple Instances of TPXV_Control

Posted: Fri Dec 28, 2018 7:44 am
by Sasha - Tracker Dev Team
Hello Jeff,

Not for the upcoming build, that's for sure.

Cheers,
Alex

Re: Multiple Instances of TPXV_Control

Posted: Fri Jan 18, 2019 11:46 am
by RoGraf
Unfortunately we have the same issue with the single INST. Actually we also open multible XChange-Viewers an it works fine - we only get the Events from the used instance. With the new Editor this is not possible, because every "instance" of the Editor gets all Events of all open documents.
Is there a chance to raise the priority - its clearly a lot of structural work to do to enable multible instances of the core, but we realy need it.

Re: Multiple Instances of TPXV_Control

Posted: Fri Jan 18, 2019 11:50 am
by Sasha - Tracker Dev Team
Hello RoGraf,

The IPXV_Inst object is the same for the controls in the same process thus the events are handled by it's event server. Think of the control as a wrapper class. Physically, there are two IPXV_MainFrames. You can try getting the main frame that the event is being handled at to distinguish them. Though it depends on your usage.

Cheers,
Alex

Re: Multiple Instances of TPXV_Control

Posted: Fri Sep 25, 2020 8:54 pm
by jeffp
Any chance multiple instances of TPXV_Control will be in v9 upcoming?

--Jeff

Re: Multiple Instances of TPXV_Control

Posted: Mon Sep 28, 2020 1:17 pm
by Tracker Supp-Stefan
Hello jeffp,

I am afraid that multiple controls handling won't be included in V9 as we had to focus our efforts on quite a lot of other features instead.

Kind regards,
Stefan