Reporting Services 中的文本框边框 (Report Builder 3.0)

发布于 2024-10-09 20:05:54 字数 199 浏览 0 评论 0原文

我正在 Report Builder 3.0 中创建一个报告,但似乎无法在文本框边框上设置颜色值(或任何值)。

我有一个已添加文本框的列表。然后,我单击文本框并选择“文本框属性...”,然后单击“边框”,“颜色”的值为“黑色”。如果我将此值更改为其他值,然后单击“确定”,然后返回“文本框属性”,它将设置回“黑色”。知道这是怎么回事吗?这不是设置边框颜色的正确方法吗?

I have a report that I am creating in Report Builder 3.0 that I appear unable to set the color value (or any value) on TextBoxes Borders.

I have a list that I have added a text box to. I then click on the text box and select Text Box Properties ... then click Border, the value for Color: is Black. If I change this value to anything else and then click OK, then come back into Text Box properties it is set back to Black. Any idea what is going on here? Is this not the correct way to set a border color?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

情释 2024-10-16 20:05:54

看起来更改边框颜色时,您需要遵循以下过程(如果进行颜色更改或尝试执行表达式来获取该颜色)

  • 更改颜色(或创建表达式)
  • 单击无(无边框)
  • 单击轮廓(对于边框)
  • 单击“确定”

不确定为什么需要删除并重新添加边框(轮廓),但这似乎解决了问题。如果您不删除并重新添加边框(轮廓),它​​看起来会恢复为默认值(在我的例子中是黑色)。

It looks like when changing the Border color you need to follow the following procedure (if doing a color change or if trying to do an expression to get that color)

  • Change Color (or create expression)
  • Click None (for no border)
  • Click Outline (for border)
  • Click OK

Not sure why you need to remove and re-add the border (outline), but this appears to fix the issue. If you do not remove and re-add the border (outline) it looks like it reverts to the default (which in my case was black).

冷弦 2024-10-16 20:05:54

您需要将 tablix 边框设置为 None,然后将每个单元格边框设置为 Solid。对 Tablix 进行任何更改后,单元格都会恢复默认值,因为您尚未将 Tablix 边框设置为“无”。

You need to set the tablix border to None and then set each cell border to Solid. Making any changes to the tablix then the cell makes the Default come back since you have not set the tablix border to None.

就此别过 2024-10-16 20:05:54

我遇到了同样的问题(除了我想改变边框宽度)。

在测试 HDog 的答案时,我发现在更改属性后需要重新添加边框的原因是,以便您可以选择要应用更改的实际边框。

例如,如果您想要左侧有白色边框,右侧有蓝色边框,请选择“无”(无边框),将颜色属性更改为白色,选择左侧边框(它将显示为白色),更改颜色属性为蓝色,然后选择右边框(它将显示为蓝色)。然后单击“确定”。

如果您返回该单元格的边框属性,您将看到颜色属性设置回黑色,但您更改的实际边框仍采用您设置的颜色。

I was having the same problem (except I wanted the border widths changed).

In testing HDog's answer, I've discovered that the reason you need to re-add the border after making changes to the properties is so that you can select the actual border you want to apply the changes to.

For example, if you want a white border on the left and a blue border on the right, select None (for no borders), change the color property to white, select the left border (it will show in white), change the color property to blue, and select the right border (it will show in blue). Then click "OK".

If you come back to the border properties for that cell, you will see the color property set back to black, but the actual borders you change still in the color you set them to.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文