文本框前色属性 [英] textbox forecolor property

查看:160
本文介绍了文本框前色属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在单个文本框中,我想设置不同的前色,并为不同的值设置对齐方式.
为此,我想使用文本框的自定义控件,如何设置不同的原色,并在其中对齐不同的值.

请帮帮我.

在此先谢谢您.

Hi All,

In single textbox, i want to set different forecolor and there alignment for different value.
For this i want to use custom control of textbox how can i set diffrent forecolor and there alignment for different value.

Please help me.

Thanks in Advance.

推荐答案

我认为您不需要为此使用自定义控件.
尝试并更改Forecolor TexAlign 属性.
I dont think you need to use a custom control just for this much.
Try and change the Forecolor and the TexAlign property.


希望
Hope this[^] might help you.


感谢回复
我已经做完了,但是我想为此构建自定义控件.
请帮我
thanks for reply
i alredy done this but i want to build custom controll for this
plzz help me


这篇关于文本框前色属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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