Hello all,

in the Acrobat JavaScript Scripting Reference I found the property 
focusRect: "Turns the focus rectangle on and off. The focus rectangle
is the faint dotted line around buttons, check boxes, radio buttons,
and signatures to indicate that the form field has the keyboard focus.
A value of true turns on the focus rectangle."

There's even an example:
app.focusRect = false; // don’t want faint dotted lines around fields

I could add this small piece of JavaScript as a JS open action of
a document, or add it as document-level JavaScript, but I was wondering
if you can set it using PDF syntax. I searched the PDF reference, but
the words "focus rectangle" only appear once (on page 652).
I thought I'd find it in the section about the catalog dictionary,
but either I've overlooked it, either it isn't there...

br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to