在折叠面板中突出显示动态标签 [英] Highlighting dynamic label in collapsed panel

查看:121
本文介绍了在折叠面板中突出显示动态标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个折叠状态,其中数据来自数据库,并且在循环内创建了动态标签,我想在折叠状态的面板中突出显示与文本框匹配的单词... ????

i have a collapsed in which the data is coming from database and dynamic label are being created inside a loop i want to highlight the word which are in collapsed panel which matches with the textbox...????

推荐答案

如果折叠,如何突出显示任何内容?标签只有一种字体,因此您必须拥有所有者才能绘制文本以将其绘制成包含不同格式的部分,或者可以使用富文本框并将其设置为无法编辑.
If it''s collapsed, how can you highlight anything ? A label has one font only, so you''d have to owner draw your text to draw it in parts that include different formats, OR you can use a rich text box and set it up so it cannot be edited.


这篇关于在折叠面板中突出显示动态标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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