Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2765
Focused field – Indicator
posted

Normal 0 false false false EN-US X-NONE X-NONE

Hi,

We have a requirement to show visual indicator like a border or some other sort of indicator around a control when control gets focus. Is there a way to achieve this through built in property? It’s hard to handle through Gotfocus and LostFocus events manually for 1000+ forms.

Thanks,

  • 469350
    Offline posted

    No, there's no property for this that would affect all controls in the application.

    Most controls that accept focus display a focus rectangle (a dotted line) to indicate focus, though.

    • 2765
      posted in reply to Mike Saltzman

      and thats what we don't see this focus rectangle on the controls. Do you know the controls which are having this rectangle to indicate focus?

      • 48586
        posted in reply to Yasir

        Hello ,

         

        Could you please let me know on which exactly Infragistics component you can’t see focus rectangle. Could you please post the isl file which you are using to style your application.

         

        I am waiting for your response.

        • 48586
          posted in reply to Hristo Goshev

          Hello, ­­­­­

           

          I am just checking about the progress of this issue. Let me know If you need any further assistance on this  matter?

           

          Thank you for using Infragistics Components.

          • 2765
            posted in reply to Hristo Goshev

            The requirement is about every single control  should which gets focus should have visual indicator. I added one windows text box and one infragistics text box on a form. When focus goes to windows text box i do see blue blue border around the control but there is no such around infragistics text box.

            Mike, If all infragistics controls are inherited from standard windows controls then shouldn't these have base functionality?

            I don't have any style applied on test app and using Infragistics 12.1 w/ service release 20121.2008

             

            • 48586
              posted in reply to Yasir

              Hello ,

               

              UltraTextEditor has a property DisplayStyle which determines the style used by the control, so you could set this property to WindowsVista for example and you will see a blue rectangle around the component if it is hovered or it contains the focus.

               

              Please let me know if you have any further questions.

              • 2765
                posted in reply to Hristo Goshev

                Thanks for that and this is what i was looking..

                I have another question.. Is there any way to set the property in the style library so every time when a control gets selected, it should show this little rectangle? All our controls use isl files for styles and given then number of controls in the application.. it is almost impossible to set the DisplayStyle for each editor.. Can we do this through isl file? I do see one "Selected" tab in the AppStylist but this is not enabled for all controls. Is there a way to enable this for all control types?