[iText-questions] Re: Problems with button-text

2006-05-11 Thread Beate Niendorf
Hi, > <>There is a class RadioCheckField: > RadioCheckField check = new RadioCheckField(writer, rect, name, "On"); > check.setCheckType(RadioCheckField.TYPE_CROSS); > writer.addAnnotation(check.getCheckField()); > But it only has a limited number of default appearances. Thanks for this solutio

Re: AW: [iText-questions] Re: Problems with button-text

2006-05-11 Thread bruno
Beate Niendorf wrote: Now I bounced in another little problem: I studied the example for creating a checkbox: http://itextdocs.lowagie.com/examples/com/lowagie/examples/forms/FormCheckbo x.java Is there a more simple way to create a default checkbox? <>There is a class RadioCheckField: Radio

AW: [iText-questions] Re: Problems with button-text

2006-05-10 Thread Beate Niendorf
Hi Bruno, > PushbuttonField push = new PushbuttonField(stamp.getWriter(),new > Rectangle(10 + xadd, pageHeight - 80, fieldwidth + xadd, > pageHeight - 40), buttonName + "text"); > > Let me know if this works, It works fine! Thanks a lot :) .oO(I told you it's a simple problem *smile*...) With

[iText-questions] Re: Problems with button-text

2006-05-10 Thread Bruno Lowagie
bruno wrote: I don't see any real difference between your example and mine. Could you send me a small standalone example starting from my code snippet that reproduces the problem? I have found the problem! I was able to reproduce it by switching two parameters in the Rectangle constructor. I w