Windows modal

2 posts, 1 answers
  1. André
    André avatar
    5 posts
    Member since:
    Jul 2008

    Posted 07 Oct 2011 Link to this post

    I created a form and I want it to be modal, so users can't interact to what is behind this form. 

    I've already tried to set "FormBorderStyle" to FixedDialog, but I still can interact with contents below this window.

    Am I missing something?

  2. Answer
    Stefan avatar
    2891 posts

    Posted 10 Oct 2011 Link to this post

    Hi André,

    Thank you for writing.

    The only thing that you have to do in order to show a form as a modal form is to call its ShowDialog method instead of the Show method:
    Form1 f = new Form1();

    I hope that you find this information helpful.

    All the best,
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

  3. DevCraft R3 2016 release webinar banner
Back to Top