Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Forms, Dialogs, TitleBar, StatusStrip > Windows modal

Answered Windows modal

Feed from this thread
  • André avatar

    Posted on Oct 7, 2011 (permalink)

    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?

    Thanks!!

    Reply

  • Answer Stefan Stefan admin's avatar

    Posted on Oct 10, 2011 (permalink)

    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();
    f.ShowDialog();

    I hope that you find this information helpful.

    All the best,
    Stefan
    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Forms, Dialogs, TitleBar, StatusStrip > Windows modal