• 0

[C#] Highlight focus of control


Question

As the title says, I want to highlight the controls with a blurred rectangle who contains focus. It will be very similar to Mac OS-X Style focus.

Please see the attachment. I want similar focus rectangle on every control in winforms.

Please reply ASAP.

Thanks,

Amey.

post-231042-1246604765.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Well, the behavioural style of the controls can be overriden if you subclass or override the painting routines.

On another note, I think there is a general concensus that the visual style of the application should really be governed by the operating system's styles.

Link to comment
Share on other sites

  • 0

100% - if I see an app that tried to style itself differently - I remove it. I am not a fan of developers spending their time on this rather than how the app works.

Link to comment
Share on other sites

  • 0

I wrote a program which let user to enter text in textbox. Acually you can see the textbox in focus (the one under the word "keys") has blue color highlight:

untitled.png

Comparing to the textbox under the word "result", you can see the difference... Although not very significant...

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.