admin管理员组文章数量:1384181
I have canvas PowerApps wherein I have text input, dropdown, and calendar control present on the form. We have default control focus border available for these controls. But I need an additional border outside of the control whenever the control is focused using tab or selected. Since we have blacked themed app where I have used the default theme of black and yellow, the focus is sometimes indistinguishable.
I have tried overlaying a transparent button with "focusborderthickness" property of 4 over the controls slightly bigger in size so that both borders are visible.
So, whenever I try to tab, first the transparent button would be focused showing the double border around the control.
On click of the transparent button, I have tried to select dropdown or focus textbox.
Select(dropdown1)
or
SetFocus(textinput1)
But when clicked enter on the overlayed button, unable to focus on the control under it.
I tried to search around, but unable to find any solution.
Any suggestion would be helpful.
I have canvas PowerApps wherein I have text input, dropdown, and calendar control present on the form. We have default control focus border available for these controls. But I need an additional border outside of the control whenever the control is focused using tab or selected. Since we have blacked themed app where I have used the default theme of black and yellow, the focus is sometimes indistinguishable.
I have tried overlaying a transparent button with "focusborderthickness" property of 4 over the controls slightly bigger in size so that both borders are visible.
So, whenever I try to tab, first the transparent button would be focused showing the double border around the control.
On click of the transparent button, I have tried to select dropdown or focus textbox.
Select(dropdown1)
or
SetFocus(textinput1)
But when clicked enter on the overlayed button, unable to focus on the control under it.
I tried to search around, but unable to find any solution.
Any suggestion would be helpful.
Share Improve this question asked Mar 19 at 11:02 RBKRBK 1251 silver badge17 bronze badges1 Answer
Reset to default 1What you are trying to do is not possible. Each control have different set of properties to define the appearance and behavior of controls, and beyond those properties nothing can be done. If your only requirement is to highlight the focused control then you can just changed the value of FocusedBorderThickness property for your controls, or can use tooltip to appear to prominent focused control.
本文标签:
版权声明:本文标题:dropdown - How can I create a visually distinct double border around focused input controls in a PowerApps canvas app? - Stack O 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744462285a2607306.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论