如果某个字段被“取消”,则更改文本的颜色。 [英] change colour of text if a certain field is "cancelled"

查看:66
本文介绍了如果某个字段被“取消”,则更改文本的颜色。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个ADezii的Db


我想要做的就是让文本根据状态改变文字颜色其中来自预订表。


tbl_bookings.status(已确认,已取消,临时)

$ b下面的$ b是用于更改框中文本颜色的接缝。

展开 | 选择 | Wrap | 行号

解决方案

你会发布整个方法吗?


我不知道这个数据库,只有已经发布的片段,我们有点难以100%确定。


< blockquote>下面是我认为填充txt框中主日历表单上的块的块。 (例如txtDayBlock01)。所以这就是为什么我不知道该怎么办,因为我不确定是否可以在一个文本框中有多种格式?


展开 | 选择 | Wrap | 行号


这是我最好的猜测:

展开 | 选择 | Wrap | 行号< /跨度>

This is a ADezii''s Db


All i''m trying trying to do is to get the text to change the text colour depending on the status of the which comes from the booking table.

tbl_bookings.status ("confirmed", "cancelled", "provisional")

below is the block which seams to change the colours of the text in the boxes.

Expand|Select|Wrap|Line Numbers

解决方案

Would you post the entire method?

I don''t know that database and it''s a little hard to be 100% sure with only the snippets that have been posted.


below is the block which i think populates the blocks which are on the main calendar form in a txt box. (for example txtDayBlock01). so this is why im not sure if what to do as im not sure if it is possible to have multiple formats within one textbox?


Expand|Select|Wrap|Line Numbers


This would be my best guess:

Expand|Select|Wrap|Line Numbers


这篇关于如果某个字段被“取消”,则更改文本的颜色。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆