Hey, interesting issue/bug I’ve found while playing around with IForm Dialog boxes. While it might be an issue with the Mono/IronPython release, it seems a bit stranger.
Note: using Mac OsX(10.10.3). and the Atom listener.
Here is the code:
import clr clr.AddReference("System.Windows.Forms") from System.Windows.Forms import Application, Form class IForm(Form): def __init__(self): self.Text = 'Simple' self.Width = 250 self.Height = 200 # self.CenterToScreen() if __name__ == "__main__": form = IForm() form.ShowDialog()
IForm.CenterToScreen()not being recognized.
- I’m getting a completely blank dialog box – with no close button (or whatever it is called). rhino losses its ability to listen to atom
Any thoughts? am I doing something wrong?