Copy link to clipboard
Copied
What would I make the "Current File:" text blue (I made the text blue below to show exactly what verbiage I want to show up blue in form) in the following code?
var exInit ={"LTyp":typeInit,"tFPg": this.strStrtPg,"tTPg":this.strEndPg, "sOfN":"of (" + this.nNumPages+")",
"FlNm":"***CURRENT FILE***: " + this.strFileName};
Right now it shows up as black. See below:
I am using Adobe Acrobat Pro X 10.1.16 on Windows 7.
Copy link to clipboard
Copied
If this is for a custom dialog, it's not possible.
Copy link to clipboard
Copied
For the custom dialog, use a type of "link_text" for the text you want to be in blue. It'll get underlined as well. If you want text in the middle of a line to be blue and the surrounding text to be black, you'll need to create a view with the align_children property set to "align_row" with three elements. The first is "static_text", the second is "link_text", and the third would be "static_text" again.
The link will only behave as a link if you add the appropriate code but it will be blue even if you don't.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now