最近,我正在使用 Power Apps 做一个关于收银员的项目。要求之一是用扫描仪扫描支付码进行支付。但是用户还需要支持notebook中扫码器触发的事件,其实就是keyup enter事件。要捕获此事件,您必须在付款代码输入框中设置焦点。如果你想尝试鼠标焦点总是在文本框中怎么办
Solved! Go to Solution.
Hi @SimonYi ,
Do you want to keep the focus of the mouse in the text box?
You could add "SetFocus ('Text box')" to the onvisible property of the screen and the onselect or onchange properties of other controls (as well as the Screen control) to set the focus in the text box.
Best Regards,
Jessica Gu
Hi @SimonYi ,
Do you want to keep the focus of the mouse in the text box?
You could add "SetFocus ('Text box')" to the onvisible property of the screen and the onselect or onchange properties of other controls (as well as the Screen control) to set the focus in the text box.
Best Regards,
Jessica Gu
User | Count |
---|---|
159 | |
96 | |
82 | |
74 | |
58 |
User | Count |
---|---|
194 | |
178 | |
102 | |
95 | |
85 |