我试图将鼠标悬停在图像上时在工具提示上显示描述性文本。然而,文本在屏幕上的窗口中显示为一条长线。如何在工具提示表达式中添加换行符并控制文本字体/大小。此外,需要显示工具提示窗口,直到用户将鼠标移离图像。可以使用 html 或 java 表达式来完成吗?我是否最好尝试创建一个小型可折叠 tablix,并将所需的文本作为子组?
我正在使用Report Builder 3.0,我的表达式如下所示:
="Description: All trees or conditions inspected that yield a
rating of 10, 11, or 12, should have a Work Order created.
There are Inspections of priority A or B that do not have a
Work Order.
Logic: INSPs are selected for this metric if the following is true:
-The INSP has a Risk Rating of 10,11,12 from RISKASSESSMENT_EVW
-The INSP does not have a matching Inspection Global ID in WORKORDER_EVW
-The INSP has an Inspection Date that is NOT NULL in INSPECTION_EVW"
我想在每个逻辑描述符后面都有换行符。
您可以通过插入 VB 常量
vbcrlf
来添加换行符,这基本上是老式的回车、换行插入。用结束引号将每一行分开,并使用 &
符号进行连接。所以表达式看起来像下面这样。
="Description: All trees or conditions inspected that yield a rating of 10, 11, or 12,
should have a Work Order created. There are Inspections of priority A or B that do not
have a Work Order." & vbcrlf &
"Logic: INSPs are selected for this metric if the following is true: " & vbcrlf &
" -The INSP has a Risk Rating of 10,11,12 from RISKASSESSMENT_EVW" & vbcrlf &
" -The INSP does not have a matching Inspection Global ID in WORKORDER_EVW" & vbcrlf &
" -The INSP has an Inspection Date that is NOT NULL in INSPECTION_EVW"
是否有任何选项可以编辑图像中工具提示的文本,例如使用粗体、斜体或字体颜色?