IOperationList Do - what ?  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

IOperationList Do - what ?

Post by zarkogajic » Sat Mar 28, 2020 5:25 pm

Hi support,

What would the IOperationList.Do method do?

Execute the Do method of all IOperations in its Items? If so, by their index in the list from 1 to Count? If so, will it wait to Do the next one until the Do of the previous one finishes?

-žarko

User avatar
Sasha - Tracker Dev Team
User
Posts: 4888
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IOperationList Do - what ?

Post by Sasha - Tracker Dev Team » Sun Mar 29, 2020 8:59 am

Hello žarko,

The operation list is only used when you are using the Property Sheets (for example Editor properties dialog uses one).

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

Re: IOperationList Do - what ?

Post by zarkogajic » Sun Mar 29, 2020 1:51 pm

Hi Alex,

Thanks. But I can safely create and use one (IAUX_Inst::CreateOpList) to store a list of IOperatons, correct?

If so, that's why I'm asking about its Do method.

p.s .
Yes, I can simply use my own list object - but since it (IOperationList) is available - I'm exploiting my options...

ž

User avatar
Sasha - Tracker Dev Team
User
Posts: 4888
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IOperationList Do - what ?  SOLVED

Post by Sasha - Tracker Dev Team » Tue Mar 31, 2020 1:57 pm

Hello žarko,

Better to store your own list - the IOperationList is used for the Property Sheets logic and there can be some other behavior coded from what you need.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

Re: IOperationList Do - what ?

Post by zarkogajic » Tue Mar 31, 2020 2:08 pm

ok.


User avatar
Sasha - Tracker Dev Team
User
Posts: 4888
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IOperationList Do - what ?

Post by Sasha - Tracker Dev Team » Tue Mar 31, 2020 6:45 pm

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply