当文本框属性enable = False时,文本框中的字体变为灰色 color。如何将灰色更改为黑色? 问候, Tee
解决方案engteng写道: 当文本框属性enable = False时,文本框中的字体变为灰色 color。如何将灰色更改为黑色?
如果您的用户使用Windows PC的时间超过三天,那么 你不应该这样做,除非你有一个真的,/非常/好的理由 这样做(例如,专门的应用程序,比如,光线不足的工作 条件)。 禁用控件上的灰色文本是/标准/ Windows行为,当您的应用程序几乎在每台Windows PC上运行时,将展示。 好的,有/有几种情况是合理的;只要 (a)你就会意识到有/非常/很少这样的情况,并且 (b)你的用户提前知道你的应用程序将会以这种方式行事 。 做奇数的应用程序事情可能会被报告为越野车。或者 完全没有安装(只是尝试更改我的屏幕分辨率!) :-) 问候, Phill W.
" engteng" < pa ***** @ gmail>'狂野的想法被释放了 2008年10月8日星期三18:23:47 +0800带有以下 fruit: >当文本框属性enable = False时,文本框中的字体变为灰色颜色。如何将灰色更改为黑色?
通常当有人问这个时,因为有人发现了 灰色文本很难看到。在这种情况下,他们可以将这种颜色在PC上更改为灰色以外的其他颜色。 - Jan Hyde(VB MVP)< mvp.support.microsoft / profile / Jan.Hyde
10月8日,6:23 * am,engteng < pass ... @ gmailwrote: 当文本框属性enable = False时,文本框中的字体变为灰色 color。如何将灰色更改为黑色? 问候, Tee
切换到WPF :-) 谢谢, Seth Rowe [MVP] sethrowe.blogspot/
When textbox properties enable = False the font in the textbox become gray color. How do I change the gray color to black color ? Regards, Tee
解决方案 engteng wrote: When textbox properties enable = False the font in the textbox become gray color. How do I change the gray color to black color ?If your users have had Windows PC''s for more than about three days, then you should not do this, unless you have a really, /really/ Good Reason to do so (e.g. specialised applications for, say, poorly-lit working conditions). Grey text on disabled controls is /standard/ Windows behaviour that will be exhibited when your application runs on practically every Windows PC on the planet. OK, there /are/ a few cases where this is justifiable; just so long as (a) you realise that there are /very/ few such cases, and (b) your users know in advance that your application is going to behave this way. Applications that do "odd" things may be reported as "buggy" or un-installed completely (just try changing the screen resolution on me!) :-) Regards, Phill W.
"engteng" <pa*****@gmail>''s wild thoughts were released on Wed, 8 Oct 2008 18:23:47 +0800 bearing the following fruit: >When textbox properties enable = False the font in the textbox become graycolor. How do I change the gray color to black color ?Normally when someone asks this it''s because someone finds the grey text hard to see. In which case they sould change this colour on their PC to something other than grey. -- Jan Hyde (VB MVP) mvp.support.microsoft/profile/Jan.Hyde
On Oct 8, 6:23*am, "engteng" <pass...@gmailwrote: When textbox properties enable = False the font in the textbox become gray color. How do I change the gray color to black color ? Regards, TeeSwitch to WPF :-) Thanks, Seth Rowe [MVP] sethrowe.blogspot/
更多推荐
禁用时如何更改文本框字体颜色?
发布评论