gpt4 book ai didi

windows - 如何让我的 Delphi 5 应用程序显示密码 "blobs"?

转载 作者:可可西里 更新时间:2023-11-01 13:50:21 24 4
gpt4 key购买 nike

很简单,但我找不到答案。

我正在 Delphi 5 Enterprise 中构建一个应用程序,并希望我的应用程序在密码字段中使用新的粗体黑点而不是星号。

我该怎么做?

最佳答案

参见 PasswordBox: A Better Way to Enter Passwords :

Getting the black dots to show up based on the visual style was insanely simple!

    private const int ES_PASSWORD = 0x0020;
...

protected override CreateParams CreateParams
{
CreateParams cp = base.CreateParams;
...

cp.Style |= ES_PASSWORD;
...

return cp;
}

关于windows - 如何让我的 Delphi 5 应用程序显示密码 "blobs"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1594906/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com