TEdit中的CapsLock密码消息在视觉上因VCL样式而失败 [英] CapsLock password message in TEdit visually fails with VCL Styles
本文介绍了TEdit中的CapsLock密码消息在视觉上因VCL样式而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用VCL样式时,在TEdit中使用密码时,CapsLock消息出现错误.这是没有样式的样子:
The CapsLock message when using password in TEdit get buggy when using VCL Style. This is how looks like without style:
,并且启用了VCL样式:
and this with VCL Style on:
信息是葡萄牙语,但我认为这无关紧要.在Delphi Seattle 23.0.21418.4207(带有Update 1)中使用Windows 10样式.
The message is in portuguese, but I don't think this matter. Using Windows 10 style in Delphi Seattle 23.0.21418.4207 (with Update 1).
推荐答案
找到了它. VCL Style Utils与许多其他事情一样,解决了该错误.只需在用途中添加Vcl.Styles.Utils.ScreenTips
.
Found it. VCL Style Utils, like a lot of other things, solves the bug. Just had to add the Vcl.Styles.Utils.ScreenTips
in the uses.
这篇关于TEdit中的CapsLock密码消息在视觉上因VCL样式而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文