该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


The markup argument in a display box enables you to write HTML code to specify text and background colors. The color can be a hex value (starting with “0x”or “#”) or a known JMP color. Here is an example:
New Window( "Colors",
Text Box(
"This is <font color=\!"Red\!">red text and this is <font color=\!"0x00ff00\!">green text and this is <font color=\!"#0000FF\!">blue text</font>.",
Text Box(
"This is <background color=\!"#ff0000\!"> red text and this is<background color=\!"Green\!"> green text and this is<background color=\!"0x0000FF\!"> blue text</background>",
图 11.33 HTML Text and Background Colors