Why does my text keep highlighting?

北城以北 提交于 2019-12-02 03:35:19

It's more of a guess, but you could try to add the following line, after assigning the text to BodyL:

toast.BodyL.Select(toast.BodyL.Text.Length, 0)

Another idea is to add some other control to the toast form (such as a Panel) that can receive input focus without showing (it can be made very tiny, or even have it moved outside the visible part of the form), and making sure that that control receives focus when the toast form is displayed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!