不在乎y
不在乎y
我都觉得无语,本人建议你换一个库吧…唉
Sorry, github has not prompted me to have this issue. I can't analyze the reason for this problem from the pictures you provided. If you can, provide the original URL...
I tried to restore some code to fix this error. Or you can use the original author's code http://www.raysoftware.cn/?p=443
```go // 托盘图片可闪烁 1 秒闪一次 tmr1 := vcl.NewTimer(mainForm) tmr1.SetOnTimer(func(sender vcl.IObject) { if trayicon.Icon().Empty() { trayicon.SetIcon(vcl.Application.Icon()) } else { trayicon.SetIcon(nil) } }) tmr1.SetEnabled(true) ``` ```go // png转ico png := vcl.NewPngImage() png.LoadFromFile("bow.png")...
这个貌似无能为力,要么就用go.mod来做,要么就只能自己git clone下了
看文档 [包说明](https://gitee.com/ying32/govcl/wikis/pages?sort_id=179684&doc_id=102420)
TForm增加了OnUTF8KeyPress 事件,例子可以看basic的,这里面可以捕捉输入的中文。需要自己编译liblcl和暂时使用dev分支的代码。
感谢赞助!没有微信交流群,懒得管理。
这个我没搞过啊,所以我也不知道
测试没有问题,如果你觉得有问题而且是windows,可以直接调用winapi `GetCursorPos`获取结果