OK, thanks for your reply, but when i apply the afsProtected, all the text is protected.
I want protect just one PART that was previously defined
Ex: "The book is on the table."
PROTECT JUST THE WORD "BOOK".
Beiträge von luanivys
-
-
How protect part of the text using OnCheckProtection event?
Just readonly. -
Ok, but how i use the afsProtected?
I want to protect a especific wptextobj, It's a merge with a image inside.
Can you pass me a simple example?
Thanks -
How to make the TWPTextoObj is not deleted from the text?
I'm trying like this:wl_TextObj := WTexto.FieldLocate('my tag', '', true, [wplocGlobalSearch, wplocDontMoveCursor]);
if wl_TextObj <> nil then
begin
if wl_TextObj.GetContainedObject([wpobjImage]) <> nil then
wl_TextObj.GetContainedObject([wpobjImage]).Mode := [wpobjWithinProtected];
end;But, doesn't work.
Help me, please.