1

I have already opened my Form with showdialog(). I want to have the possibility to change (or set) the property of modal for this form, without showing again this form by show.

Paul Roub
  • 36,322
  • 27
  • 84
  • 93
c.mokhtari
  • 27
  • 2
  • I would give this thread a read : http://stackoverflow.com/a/428782/3922214 – Jonathan Carroll Aug 25 '16 at 15:38
  • And why is showing the form again a problem? – InBetween Aug 25 '16 at 16:00
  • I'm guessing you are trying to solve the wrong problem. Have the dialog form raise an event that the calling form is listening for, then it can run whatever code you need to have run. Otherwise, it's pretty unclear why you want to change a modal form to a non-modal form *while it's being displayed*. – LarsTech Aug 25 '16 at 16:45
  • Can you say what's the original problem which you are trying to solve? It seems to be [XY problem](http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem). – Reza Aghaei Aug 25 '16 at 17:22

0 Answers0