WPCubed Product Support

InputEditField + protection

WPTools version 6.11.2

This might be trivial but I'm a complete beginner when comes to wptools programming, so bear with me...

We have a document containing protected and unprotected paragraphs. Some of these protected paragraphs contains (besides protected text and other stuff) one or more InputEditFields. Some of these fields should be protected and some should not (and the protection mode can change during the lifetime of the document depending on the state of the model).

So, what is the easiest way to set the protection mode of a InputEditField inside a protected paragraph?

Regards
patrik.nyborg(a)genicore.se

#1 ♥ 0
2.9k Views 1 users read 1 min

Nevermind, I inserted a hook in TWPRTFEngineBasis.IsProtected and implemented some custom logic.

Regards
patrik.nyborg(a)genicore.se

#2 ♥ 0
This category is archived. No new posts are possible.