Indicating focus for controls

2 posts, 0 answers
  1. Anders
    Anders avatar
    1 posts
    Member since:
    Mar 2013

    Posted 20 Mar 2013 Link to this post

    Using Telerik version 2013.1.220.40

    We would like to indicate when controls (TextBox, Dropdownlist, Checkbox etc) has focus, many users use the tab-key and can't see where the cursor is. Is the best way to accieve this by creating a custom theme or just override OnFocus/LostFocus-event for all the controls and set style there?

    In the application we let users choose between 5 different themes.
  2. Anton
    Admin
    Anton avatar
    167 posts

    Posted 22 Mar 2013 Link to this post

    Hello Anders,

    Thank you for writing.

    My advice is to try to do this with modification in the themes, because with one modification in the theme of the Text Box you will change the style of all text boxes in your application. But if there are controls that can not be styling through the modification in the theme due lack of state you should styling them with events. So the best approach in this case is to make mix form both ways of customization.

    I hope this helps. Should you have any other questions, I will be glad to assist you

    Greetings,
    Anton
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top