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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

What 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.

本文标签: