当内容不变时,如何使用VBA for Access将焦点放在文本框上 [英] How do i keep the focus on the textbox when the content doesn't change - using VBA for Access
问题描述
即。按Enter键时,文本框的内容更改时,文本框失去焦点的唯一时间。如果内容未更改,请将焦点放在文本框上。我正在使用VBA for Access。任何帮助,将不胜感激。谢谢
I.e. When pressing the Enter Key the only time text box loses focus is when content of text box has changed. If Content hasn't changed keep the focus on the textbox. I am using VBA for Access. Any help would be appreciated. Thanks
推荐答案
亲爱的朋友,
此论坛适用于Visual Studio IDE问题,您的问题更相关
访问开发,它有自己的论坛。
This forum is for Visual Studio IDE issues, and your issue is more related Access developing, which has its own forum.
但我找到了两个相关的帖子,可能会帮助:
but I found two related thread which might help:
https://stackoverflow.com/questions/6685661/keep-focus-on-textbox-after-pressing-enter
https://social.msdn。 microsoft.com/Forums/office/en-US/22135423-8ada-43cd-a07b-aac14c30830c/vba-set-focus-after-update?forum=accessdev
问候,
Fletcher
这篇关于当内容不变时,如何使用VBA for Access将焦点放在文本框上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!