A Window Form showing modally

2 posts, 0 answers
  1. Harikrishna Daxini
    Harikrishna Daxini avatar
    1 posts
    Member since:
    Dec 2009

    Posted 07 Dec 2009 Link to this post

    I want to show a window form named form2 on the other form named form1 and user can not select any control but the textbox on the
    form1 until the form2 is closed....
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 08 Dec 2009 Link to this post

    Hello Harikrishna,

    I am not quite sure that I correctly understand the case.

    Basically, if you show a modal form, you will not be able to select other forms in your application unless you close the modal form. If you show a form in a normal mode, you will be able to select any other forms in your application, as well as all other controls in them.

    In your scenario, I presume you could simply disable all controls on your parent form except the text box and enable them when you close the second form.

    I hope this is helpful.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top