启用了property_false组合框列表项的设置项目不会更改及时的前景颜色

发布于 2025-01-27 19:54:13 字数 706 浏览 3 评论 0原文

使用Oracle Form Builder 10.1.2.3.0,我有一个list Item type 组合框带有stript>提示> 复选框

当我用复选框禁用这两个项目时

SET_ITEM_PROPERTY('block.item', ENABLED, PROPERTY_FALSE);

,其提示为灰色,但是列表项目的提示部分不会更改。这使得形式及其开发人员看起来很荒谬。

这是一个错误吗?

要完成我想要的工作,我必须在list item的启用更改时执行这些操作:

set_item_property('block.item', foreground_color, 'r150g150b150')
set_item_property('block.item', foreground_color, 'r70g70b70')

这些只是猜测,因为颜色仪表应用程序并不完美。

如果我可以使用视觉属性,则其中一半的问题将“消失”,但是Form Builder应用程序抱怨未命名的“灰色”颜色。

当然,有一个更好的解决方案。也许和LAF一起玩?但是我还没有找出LAF定制。

Using Oracle Form Builder 10.1.2.3.0, I have a List Item of type Combo Box with a Prompt and next to it in the same Block is a CheckBox.

When I disable these two items with

SET_ITEM_PROPERTY('block.item', ENABLED, PROPERTY_FALSE);

the CheckBox and its prompt go gray but the prompt portion of the List Item does not change. This makes the form and its developer look ridiculous.

Is this a bug?

To accomplish what I want I have to execute these when the List Item's enablement changes:

set_item_property('block.item', foreground_color, 'r150g150b150')
set_item_property('block.item', foreground_color, 'r70g70b70')

And these are just guesses because the color meter app is not perfect.

Half of the problem would "go away" if I could use a visual attribute but the form builder app complains about the "gray" color not being named.

Surely there is a better solution. Maybe playing with the LAF? But I have yet to figure out LAF customization.

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

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

发布评论

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

评论(1

眼眸里的快感 2025-02-03 19:54:13

我不会期望提示会更改,但是输入文本的编辑区域将会更改。有一个例外。如果使用Colorscheme Swan或Blaf运行,则文本编辑将始终保持白色,除非您明确更改颜色。这是预期的行为。

如果您使用的是Swan或Blaf,EBS会使用ReadOnlyBackground = true,则可以使编辑区域从白色变为非白色颜色(确切的颜色将取决于使用的颜色)。由于此参数不在配置中,因此需要手动添加并添加到HTML模板文件中。

I would not expect the prompt to change, but the edit area where text is entered will change. There is one exception. If running with colorScheme SWAN or BLAF the text edit are will always remain white unless you explicitly change the color. This is expected behavior.

If you are using SWAN or BLAF, which EBS does, by setting readOnlyBackground=true you can cause the edit area to go from white to a non-white color (the exact color will depend on the colorscheme in use). Because this parameter is not in the config by default it would need to be added manually and also added to the html template file.

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