Page 1 of 1

Multiple Documents Interface MDI failed attempt

PostPosted: April 17th, 2007, 2:03 pm
by gcarreno@codeplex
I'm new to Phalanger but I do like where it's going.
I've managed to do a very nice Winforms app with it but hit a snag...
I was using VS2005 has a companion helper to do all the design and stuff and then replicate it to PHP and I was trying to get a MDI interface going on.
It went fine in C# when i did:
Form f = new Form();f.parent = MyParentForm;f.show();
But when I got around the same thing on PHP, the application spits out an error: cannot display a modal form .... (sorry did it at home and I don't remember the entirity of the error).
I then went and done some sanity checks:
  • the MDI Children count gets incremented by 1
  • Going through the children collection the form is there and is the one that we just included.
  • Accessing it through the collection gives the same error.

Could some kind soul shead some light on this poor .NET 2.0 wannabe programmer ?

Thanks in advance,
Gustavo Carreno