Hi, the book (first edition) has helped me 95% of the way. However, I'm having trouble setting actions for checkboxes in a document.
My goal is to turn layers on/off using a RadioCheckField checkbox. When the box is checked a layer is shown, when the box is unchecked the layer is not shown. I worked through the examples in the book for layers and setAction (e.g., 12.3.5 "Changing the state of a layer with an action" & 15.2.1 & 13.5.1). The Chunk.setAction(actionToggle) example worked perfectly, but I want to do this action with checkboxes. Can I turn layers on/off with checkboxes? Any help is appreciated. --Daniel
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/