Leong Wai Meng wrote:
> Hello,
> 
>  
> 
> To mark a textfield to readonly, I can use:
> 
> myAcroFields.setFieldProperty(name, "setfflags", 
> PdfFormField.FF_READ_ONLY, null);
> 
>  
> 
> How can I revert this action to set the textfield to editable?

By replacing "setfflags" by "clrfflags"; this removes flags instead of 
setting them (see section 8.2.2 of the second edition of iText in Action).
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to