Skip to main content
Known Participant
April 29, 2017
공지사항

Want Blue as Text Display Color

  • April 29, 2017
  • 2 답변들
  • 294 조회

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.

이 주제는 답변이 닫혔습니다.

2 답변

Joel Geraci
Community Expert
Community Expert
April 30, 2017

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.

Inspiring
April 30, 2017

If this is for a custom dialog, it's not possible.