Is there a limit to the characters you can pass in cMsg?
I need to display a terms and conditions dialog, which could be as much as 3,000 characters. The app.alert seems to have a limit, because it is truncating cMsg in the dialog window, but I cannot find documentation on it.
I've played around briefly with a custom dialog (execDialog), but I can't figure out how to get the text to wrap.
Any help/suggestions are greatly appreciated. Thanks!
A custom dialog is the way to go. The static text elements should wrap the text automatically. What kind of element are you placing the text into and what are the element properties?
Have you looked at AcroDialogs, it's the easy way to build custom dialogs
http://www.windjack.com/products/acrodialogs.php
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script