Protection of text and pictures.
Posted: Thu Sep 19, 2013 2:32 pm
Hi,
I have a function that protect all the text in my RichView by assigning [rvprModifyProtect, rvprDeleteProtect, rvprSticking, rvprStickToTop] to every style in my RichView. Also, when my function detects a picture with « StyleNo = rvsPicture », I apply the following code :
My problem is that I can insert text between my text and my picture.
Is there a way to prevent this behavior.
Thank you.
I have a function that protect all the text in my RichView by assigning [rvprModifyProtect, rvprDeleteProtect, rvprSticking, rvprStickToTop] to every style in my RichView. Also, when my function detects a picture with « StyleNo = rvsPicture », I apply the following code :
Code: Select all
SetItemExtraIntProperty(iItm, rvepDeleteProtect, 1);
SetItemExtraIntProperty(iItm, rvepResizable, 0);
Is there a way to prevent this behavior.
Thank you.